1
0
mirror of synced 2026-04-26 12:26:54 +00:00

2006-06-22 15:17:21 by steve

Don't allow sparse images on LVM - #374988
This commit is contained in:
steve
2006-06-22 15:17:21 +00:00
parent 7b591358e6
commit e852d10c53

View File

@@ -432,7 +432,7 @@ Install an X11 server, using VNC and XDM
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.40 2006-06-22 14:54:12 steve Exp $
$Id: xen-create-image,v 1.41 2006-06-22 15:17:21 steve Exp $
=cut
@@ -846,7 +846,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.40 $';
my $REVISION = '$Revision: 1.41 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
@@ -950,6 +950,16 @@ E_OR
}
}
#
# If using LVM images cannot be sparse
#
if ( $CONFIG{'lvm'} )
{
$CONFIG{'image'} = "full";
print "Switching to 'full' images rather than 'sparse', since you're using LVM\n";
}
#
# The kernel + initrd images should exist.
#