1
0
mirror of synced 2026-01-25 11:26:31 +00:00

2006-08-18 13:16:55 by steve

Use hostname when installing system.
This commit is contained in:
steve 2006-08-18 13:16:55 +00:00
parent e20a1ecd4c
commit 4890ba9c97
2 changed files with 6 additions and 5 deletions

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.79 2006-08-18 13:14:14 steve Exp $
$Id: xen-create-image,v 1.80 2006-08-18 13:16:55 steve Exp $
=cut
@ -939,7 +939,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.79 $';
my $REVISION = '$Revision: 1.80 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
@ -1719,7 +1719,7 @@ sub installSystem
#
# Basic command
#
my $cmd = "/usr/bin/xt-install-image --location=$MOUNT_POINT --dist=$CONFIG{'dist'}";
my $cmd = "/usr/bin/xt-install-image --hostname=$CONFIG{'hostname'} --location=$MOUNT_POINT --dist=$CONFIG{'dist'}";
#
# Add on the current cache setting

View File

@ -80,7 +80,7 @@ Install the distribution specified by the B<--dist> argument using the debootstr
--
http://www.steve.org.uk/
$Id: xt-install-image,v 1.29 2006-08-18 13:11:48 steve Exp $
$Id: xt-install-image,v 1.30 2006-08-18 13:16:55 steve Exp $
=cut
@ -212,6 +212,7 @@ sub parseCommandLineArguments
# Mandatory
"location=s", \$CONFIG{'location'},
"dist=s", \$CONFIG{'dist'},
"hostname=s", \$CONFIG{'hostname'},
# Exclusive.
"tar=s", \$CONFIG{'tar'},
@ -237,7 +238,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.29 $';
my $REVISION = '$Revision: 1.30 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{