[Jaunty] Vm Builder memory and network setup

Nick Barcet nick.barcet at canonical.com
Tue May 5 10:33:16 UTC 2009

On 05/05/2009 11:20 AM, Laurent Dinclaux wrote:
> 2009/5/5 Nick Barcet <nick.barcet at canonical.com>:
>> On 05/05/2009 10:12 AM, Laurent Dinclaux wrote:
>>> 2009/5/5 Laurent Dinclaux <laurent at gecka.com>:
>>> So if i run vmbuilder -mem 512 it should give <memory>524288</memory>
>>> and not <memory>18446744073709551615</memory>...
>>> Am I wrong ?
>> You are right.  Are you seeing a different behaviour?
> As said if I put mem = 512 in my vmbuilder config file I get:
> <memory>18446744073709551615</memory>

I was very surprised by this and just gave it a try.

Default /etc/vmbuilder/libvirt/libvirtxml.tmpl

  <memory>#echo $mem * 1024 #</memory>

Command line used:

  sudo vmbuilder kvm ubuntu --mem 512 --debug --libvirt qemu:///system

Resulting xml using 'sudo virsh dumpxml ubuntu'


So I am afraid I cannot reproduce your issue.

Something else that you modified?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20090505/76463a32/attachment.pgp>

More information about the ubuntu-server mailing list