2006-08-17 19:52:14 by steve
Don't create LVM swap volume if it isn't to be used. (--noswap).
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user