Control: tag -1 + upstream confirmed pending Hi Christian,
Estelmann, Christian wrote: > 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 [...] > 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: Indeed. The (template) examples in xen-create-image(8) just show the suffix "Mb". And actually just that suffix and "Gb" are currently recognized. Omitting the "b" leads to the described issue. This will be fixed in the next upstream release. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org