[Jaunty] Vm Builder memory and network setup
Laurent Dinclaux
laurent at gecka.com
Tue May 5 04:05:12 UTC 2009
Hello,
I use vmbuilder to manage my virtual machines. I have setup a bridge
interface br0 for them.
Concerning the memory problem I have specified (using a configuration
file) mem = 512. After the virtual machine has installed correctly I
get :
<memory>18446744073709551615</memory>
<currentMemory>18446744073709551615</currentMemory>
Whereas the template specifies:
<memory>#echo $mem * 1024 #</memory>
Concerning network, the official server-guide says to copy and modify
in /etc/vmbuilder/libvirt/libvirtxml.tmpl
<interface type='network'>
<source network='default'/>
</interface>
To:
<interface type='bridge'>
<source bridge='br0'/>
</interface>
But on jaunty I have that:
#if $bridge
<interface type='bridge'>
<source bridge='$bridge'/>
#else
<interface type='network'>
#if $mac
<mac address='$mac'/>
#end if
<source network='default'/>
#end if
#if $virtio_net
<model type='virtio'/>
#end if
</interface>
I suppose the documentation is wrong and that I should specify the
bridge name using a parameters but man virt-manager does no say
anything about it.
Regards
--
Laurent Dinclaux
Gérant - Gecka SARL
laurent at gecka.nc
Tel: +687 78 77 24
http://www.gecka.com
Préservez nos forêts, n’imprimez vos mails que si nécessaire.
Preserve our forests, only print your emails if necessary.
More information about the ubuntu-server
mailing list