From 854743fc7d804699f0039aa67fbb7f1b052bf8c2 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 25 Oct 2007 12:23:53 +0000 Subject: [PATCH] 2007-10-25 12:23:53 by steve Bugfixes for the tests --- bin/xen-create-image | 11 ++++++++--- bin/xt-create-xen-config | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index 2c1a50a..04cfdb0 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -66,6 +66,9 @@ xen-create-image - Easily create new Xen instances with networking and OpenSSH. --modules Set the path to the kernel modules to use for domU. If modules are specified they must exist. + --output Specify the output directory to create the xen configuratoin + file within. + --install Specify whether to install the guest system or not. --hooks Specify whether to run hooks after the image is created. @@ -91,6 +94,8 @@ xen-create-image - Easily create new Xen instances with networking and OpenSSH. --tar-cmd NOP: Ignored. + --extension Specify the suffix to give the Xen configuration file. + --swap Set the size of the swap partition. --swap-dev Specify a physical/logical volume for swap usage. @@ -355,7 +360,7 @@ Create a Xen configuration file in so that xm can start the new domain. Once a new image has been created an appropriate configuration file for Xen will be saved in the directory /etc/xen by default. However - you may change the ouput directory with the --output flag. + you may change the output directory with the --output flag. The configuration file is built up using the template file /etc/xen-tools/xm.tmpl - which is a file processed via @@ -592,7 +597,7 @@ Install an X11 server, using VNC and XDM -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.189 2007-10-25 12:19:40 steve Exp $ + $Id: xen-create-image,v 1.190 2007-10-25 12:23:53 steve Exp $ =cut @@ -1402,7 +1407,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.189 $'; + my $REVISION = '$Revision: 1.190 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { $REVISION = $1; diff --git a/bin/xt-create-xen-config b/bin/xt-create-xen-config index bf0f948..f1ef16e 100755 --- a/bin/xt-create-xen-config +++ b/bin/xt-create-xen-config @@ -12,7 +12,7 @@ xt-create-config - Create a Xen configuration file for a new guest Filename Options: - --ouput Specify the output directory to use. + --output Specify the output directory to use. --extension Specify the file extension to use. @@ -111,7 +111,7 @@ xt-create-config - Create a Xen configuration file for a new guest -- http://www.steve.org.uk/ - $Id: xt-create-xen-config,v 1.46 2007-10-25 12:05:21 steve Exp $ + $Id: xt-create-xen-config,v 1.47 2007-10-25 12:23:53 steve Exp $ =cut @@ -239,7 +239,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.46 $'; + my $REVISION = '$Revision: 1.47 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { $REVISION = $1;