1
0
mirror of synced 2026-01-19 01:07:28 +00:00

2006-06-07 09:19:52 by steve

BUGFIX:  Count is too high.
This commit is contained in:
steve 2006-06-07 09:19:52 +00:00
parent f212ac5324
commit b60d7cd348

View File

@ -461,7 +461,7 @@ Install an X11 server, using VNC and XDM
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.128 2006-06-07 09:09:30 steve Exp $
$Id: xen-create-image,v 1.129 2006-06-07 09:19:52 steve Exp $
=cut
@ -1060,7 +1060,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.128 $';
my $REVISION = '$Revision: 1.129 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
@ -1758,7 +1758,7 @@ sub runHooks
# these are handled specially since we use arrays.
#
# Remove the value we set above.
$ENV{'ip'} = undef;
delete $ENV{'ip'};
#
# Setup a seperate ip$count value for each IP address.
@ -1771,7 +1771,7 @@ sub runHooks
$ENV{'ip' . $count } = $i;
$count += 1;
}
$ENV{'ip_count'} = $count;
$ENV{'ip_count'} = ($count - 1);
#