2005-12-19 15:04:25 by steve
BUGFIX: Memory is strippedof its size.
This commit is contained in:
parent
a40b0030cc
commit
3830ae5ada
@ -100,7 +100,7 @@ Specify the virtual instance that we should copy.
|
||||
--
|
||||
http://www.steve.org.uk/
|
||||
|
||||
$Id: xen-duplicate-image,v 1.2 2005-12-19 14:54:40 steve Exp $
|
||||
$Id: xen-duplicate-image,v 1.3 2005-12-19 15:04:25 steve Exp $
|
||||
|
||||
=cut
|
||||
|
||||
@ -488,6 +488,12 @@ EOF
|
||||
}
|
||||
|
||||
|
||||
# Strip trailing Mb from the memory size.
|
||||
if ( $CONFIG{'memory'} =~ /^(\d+)Mb*$/i )
|
||||
{
|
||||
$CONFIG{'memory'} = $1;
|
||||
}
|
||||
|
||||
#
|
||||
# Only one of DHCP / IP is required.
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user