2006-08-18 13:16:55 by steve
Use hostname when installing system.
This commit is contained in:
parent
e20a1ecd4c
commit
4890ba9c97
@ -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
|
||||
|
||||
@ -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.]+) / )
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user