[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [BUG] xen-create-image memory vs config file
Hi, I’m trying to use xen-create-image to create an installed Xen machine. If I do the following: # sudo xen-create-image —hostname=foobar --memory=2048 --swap=1024M --size=10G --lvm=VolumeGroupXen --dist=wheezy --fs=ext3 --mirror=http://ftp.nl.debian.org/debian --genpass=1 --vcpus=2 ERROR: 'memory' argument takes a suffixed integer. This does not work, because the memory argument is incorrect. So I adapt it: # sudo xen-create-image —hostname=foobar --memory=2048M --swap=1024M --size=10G --lvm=VolumeGroupXen --dist=wheezy --fs=ext3 --mirror=http://ftp.nl.debian.org/debian --genpass=1 --vcpus=2 This installs the machine successfully. If I then continue: # sudo xl create /etc/xen/foobar.cfg Parsing config from /etc/xen/foobar.cfg /etc/xen/foobar.cfg:13: warning: parameter `memory' is not a valid number This means I have to edit the configuration file and remove the “M” from the memory number. Seems to me like xen-create-image and xl need to have a friendly argument on how to handle memory numbers. Regards, Jeroen. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |