From 8fde8fa63f48df72244b005f5f53b2e3ff5c1cf8 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 10 Jun 2006 14:36:53 +0000 Subject: [PATCH] 2006-06-10 14:36:53 by steve BUGFIX: D'oh. Memory size is correctly defined. Everything works for LVM now :) --- bin/xt-create-xen-config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/xt-create-xen-config b/bin/xt-create-xen-config index 777eed6..ef6dbaf 100755 --- a/bin/xt-create-xen-config +++ b/bin/xt-create-xen-config @@ -45,7 +45,7 @@ xt-create-config - Create a Xen configuration file for a new domain. -- http://www.steve.org.uk/ - $Id: xt-create-xen-config,v 1.6 2006-06-10 14:26:45 steve Exp $ + $Id: xt-create-xen-config,v 1.7 2006-06-10 14:36:53 steve Exp $ =cut @@ -140,7 +140,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.6 $'; + my $REVISION = '$Revision: 1.7 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { @@ -198,7 +198,7 @@ sub createXenConfig # # Strip a trailing qualifier from the memory # - if ( $ENV{'memory'} =~ /([^0-9]+)/ ) + if ( $ENV{'memory'} =~ /([0-9]+)/ ) { $ENV{'memory'} = $1; }