diff --git a/bin/xen-create-image b/bin/xen-create-image index 120d0ef..c0c1f21 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -498,7 +498,7 @@ Install an X11 server, using VNC and XDM -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.98 2006-10-12 23:02:35 steve Exp $ + $Id: xen-create-image,v 1.99 2006-10-12 23:06:43 steve Exp $ =cut @@ -1020,7 +1020,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.98 $'; + my $REVISION = '$Revision: 1.99 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { $REVISION = $1; @@ -1916,21 +1916,24 @@ sub createEVMSBits # # The commands to create the objects and volumes. # - #create the object + # create the object + # my $disk_cmd_object = "echo allocate : $CONFIG{'evms'}/Freespace, size=$CONFIG{'size'}, name=$disk | evms"; - # these will be piped to evms, but gotta check it first - ## /sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'size'}M -n $disk"; - #create the EVMS volume - my $disk_cmd_volume = "echo create : Volume, $CONFIG{'evms'}/$disk, name=$disk | evms"; - ##/sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'swap'} -n $swap"; + # + # these will be piped to evms, but gotta check it first + ## /sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'size'}M -n $disk"; + #create the EVMS volume + # + my $disk_cmd_volume = "echo create : Volume, $CONFIG{'evms'}/$disk, name=$disk | evms"; + ##/sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'swap'} -n $swap"; #repeat the same steps for the swap partition my $swap_cmd_object = "echo allocate : $CONFIG{'evms'}/Freespace, size=$CONFIG{'swap'}, name=$swap | evms"; - # these will be piped to evms, but gotta check it first - ## /sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'size'}M -n $disk"; + # these will be piped to evms, but gotta check it first + ## /sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'size'}M -n $disk"; #create the EVMS volume my $swap_cmd_volume = "echo create : Volume, $CONFIG{'evms'}/$swap, name=$swap | evms"; - ##/sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'swap'} -n $swap"; + ##/sbin/lvcreate $CONFIG{'evms'} -L $CONFIG{'swap'} -n $swap"; #