diff --git a/bin/xen-create-image b/bin/xen-create-image index 1ac11f5..5945ea0 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -446,7 +446,7 @@ Install an X11 server, using VNC and XDM -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.71 2006-08-17 10:16:46 steve Exp $ + $Id: xen-create-image,v 1.72 2006-08-17 19:52:14 steve Exp $ =cut @@ -909,7 +909,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.71 $'; + my $REVISION = '$Revision: 1.72 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { @@ -1511,7 +1511,7 @@ sub createLVMBits # Create the volumes # runCommand( $disk_cmd ); - runCommand( $swap_cmd ); + runCommand( $swap_cmd ) unless( $CONFIG{'noswap'} ); # # Initialise the partitions with the relevant filesystem.