From 44ff1d6f3eed020718b8967f266b9e4abddeca4e Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 22 Feb 2006 19:24:41 +0000 Subject: [PATCH] 2006-02-22 19:24:40 by steve The command line flag '--use-ide' has been changed to '--ide' --- etc/hook.d/90-make-fstab | 4 ++-- xen-create-image | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/etc/hook.d/90-make-fstab b/etc/hook.d/90-make-fstab index d87d013..e7b17eb 100755 --- a/etc/hook.d/90-make-fstab +++ b/etc/hook.d/90-make-fstab @@ -9,7 +9,7 @@ # # Steve # -- -# $Id: 90-make-fstab,v 1.7 2006-02-18 12:23:12 steve Exp $ +# $Id: 90-make-fstab,v 1.8 2006-02-22 19:24:41 steve Exp $ prefix=$1 @@ -48,7 +48,7 @@ esac # Make sure we use ide style device names if required # device=sda -if [ "${use-ide}" ]; then +if [ "${ide}" ]; then device=hda fi diff --git a/xen-create-image b/xen-create-image index 19663ee..5461b32 100755 --- a/xen-create-image +++ b/xen-create-image @@ -27,7 +27,7 @@ xen-create-image - Create a new virtual Debian installation for Xen. --role Run a role-specific script, post-install. --size Set the size of the primary disk image. --swap Set the size of the swap partition. - --use-ide Use ide names for virtual devices (hda vs sda) + --ide Use IDE names for virtual devices (hda not sda) Networking options: @@ -116,8 +116,8 @@ Specify the size of the primary drive to give the virtual image. The size may b Specify the size of the virtual swap partition to create. The size may be suffixed with either Mb, or Gb. -=item B<--use-ide> -Use ide style device names for the virtual devices. +=item B<--ide> +Use IDE style device names for the virtual devices. =item B<--version> Show the version number and exit. @@ -402,7 +402,7 @@ Install an X11 server, using VNC and XDM -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.100 2006-02-21 00:16:30 steve Exp $ + $Id: xen-create-image,v 1.101 2006-02-22 19:24:40 steve Exp $ =cut @@ -831,7 +831,7 @@ runCommand( "umount $dir" ); # my $device = "sda"; -if ( $CONFIG{'use-ide'} ) +if ( $CONFIG{'ide'} ) { $device = "hda"; } @@ -1026,7 +1026,7 @@ sub parseCommandLineArguments "passwd", \$CONFIG{'passwd'}, "role=s", \$CONFIG{'role'}, "cache=s", \$CONFIG{'cache'}, - "use-ide", \$CONFIG{'use-ide'}, + "ide", \$CONFIG{'ide'}, "help", \$HELP, "manual", \$MANUAL, "version", \$VERSION @@ -1038,7 +1038,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.100 $'; + my $REVISION = '$Revision: 1.101 $'; if ( $REVISION =~ /1.([0-9.]+) / ) {