Package: xen-tools
Version: 4.3.1-1

After creating a new host with xen-create-image the index of the memory-size is 
written in the created config. Starting with this created config failes.

Example:
root@xen:~# xen-create-image --hostname newhost.example.com --vcpus 1 
--memory=256M --pygrub --size=4G --swap=512M --ip=10.1.2.3 
--netmask=255.255.255.128
[...]
All done
[...]
root@xen:~# xm create /etc/xen/newhost.example.com.cfg
Using config file "/etc/xen/weblimesurvey.local.cfg".
Error: invalid literal for int() with base 10: '256M'

After changing the line in /etc/xen/newhost.example.com.cfg from
memory      = '256M'
to
memory      = '256'
all works fine:
root@xen:~# xm create /etc/xen/newhost.example.com.cfg
Using config file "/etc/xen/newhost.example.com.cfg".
Started domain newhost.example.com (id=X)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to