1
0
mirror of synced 2026-02-09 17:21:11 +00:00

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:
steve
2006-08-17 19:52:14 +00:00
parent d4bace979b
commit d1580ade2f

View File

@@ -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.