2006-02-17 07:57:54 by steve
Make the disk image the right size. Debian bug 353155
This commit is contained in:
@@ -351,7 +351,7 @@ Install an X11 server, using VNC and XDM
|
||||
--
|
||||
http://www.steve.org.uk/
|
||||
|
||||
$Id: xen-create-image,v 1.94 2006-02-17 07:32:06 steve Exp $
|
||||
$Id: xen-create-image,v 1.95 2006-02-17 07:57:54 steve Exp $
|
||||
|
||||
=cut
|
||||
|
||||
@@ -647,7 +647,7 @@ else
|
||||
{
|
||||
#
|
||||
# Loopback
|
||||
$image_cmd = "/bin/dd if=/dev/zero of=$image bs=$CONFIG{'size'} count=1 seek=1024";
|
||||
$image_cmd = "/bin/dd if=/dev/zero of=$image bs=$CONFIG{'size'} count=0 seek=1024";
|
||||
}
|
||||
|
||||
runCommand( $image_cmd );
|
||||
@@ -974,7 +974,7 @@ sub parseCommandLineArguments
|
||||
|
||||
if ( $VERSION )
|
||||
{
|
||||
my $REVISION = '$Revision: 1.94 $';
|
||||
my $REVISION = '$Revision: 1.95 $';
|
||||
|
||||
if ( $REVISION =~ /1.([0-9.]+) / )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user