diff --git a/xen-duplicate-image b/xen-duplicate-image index 523d5c8..fd3fb3e 100755 --- a/xen-duplicate-image +++ b/xen-duplicate-image @@ -17,6 +17,7 @@ xen-duplicate-image - Duplicate an existing Xen instance. --boot Boot the cloned image after creating it. --dir Specify where the output images should go. --volume Specify the LVM volume where images are to go. + --ide Use IDE names for virtual devices (hda not sda) Networking options: --dhcp Setup the image to get its networking details via DHCP @@ -52,6 +53,9 @@ Specify the gateway address for the virtual image, only useful if DHCP is not us =item B<--help> Show the brief help information. +=item B<--ide> +Use IDE style device names for the virtual devices. + =item B<--ip> Specify the IP address for the virtual image. Conflicts with B<--dhcp>. @@ -118,7 +122,7 @@ Specify the LVM volume where images are to go -- http://www.steve.org.uk/ - $Id: xen-duplicate-image,v 1.25 2006-03-10 18:18:59 radu Exp $ + $Id: xen-duplicate-image,v 1.26 2006-03-11 19:53:39 steve Exp $ =cut @@ -167,7 +171,7 @@ my %CONFIG; # # Release number. # -my $RELEASE = '1.1'; +my $RELEASE = '1.2'; # @@ -310,27 +314,11 @@ setupNetworking( $dir ); # # Finally setup Xen to allow us to create the image. # -print "Setting up Xen configuration file .. "; -open( XEN, ">", "/etc/xen/$CONFIG{'hostname'}.cfg" ); -print XEN<