1
0
mirror of synced 2026-02-10 01:29:56 +00:00

2006-06-09 18:36:10 by steve

Remove the hack to rename sid/etch/sarge -> debian, to be replaced by symlinks.
This commit is contained in:
steve
2006-06-09 18:36:10 +00:00
parent 6bf46ffd4c
commit f19257a223

View File

@@ -31,7 +31,7 @@ xen-create-image - Create a new Xen instance
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.12 2006-06-09 17:28:08 steve Exp $
$Id: xen-create-image,v 1.13 2006-06-09 18:36:10 steve Exp $
=cut
@@ -389,7 +389,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.12 $';
my $REVISION = '$Revision: 1.13 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
@@ -444,18 +444,6 @@ sub checkArguments
exit 1;
}
#
# Cheat and remap distributions names.
#
# TODO: Alternative create symlinks in the hook.d
if ( ( $CONFIG{'dist'} =~ /^sarge$/i ) ||
( $CONFIG{'dist'} =~ /^etch$/i ) ||
( $CONFIG{'dist'} =~ /^sid$/i ) )
{
$CONFIG{'dist'} = 'debian';
}
#
#
# Test that the distribution name we've been given
@@ -777,6 +765,11 @@ sub installSystem
#
my $cmd = "/usr/bin/xt-install-image --location=$MOUNT_POINT --dist=$CONFIG{'dist'}";
#
# Add on the current cache setting
#
$cmd .= " --cache=$CONFIG{'cache'}" if length( $CONFIG{'cache'} );
#
# Installation method
#