Public bug reported: Binary package hint: ubuntu-docs
The ubuntu-serverguide (10.04.02) virtualization chapter says: "19.2.3.2.1.2. Modifying the libvirt Template to use Bridging Because our appliance will be likely to need to be accessed by remote hosts, we need to configure libvirt so that the appliance uses bridge networking. To do this we use vmbuilder template mechanism to modify the default one. In our working directory we create the template hierarchy and copy the default template: mkdir -p VMBuilder/plugins/libvirt/templates cp /etc/vmbuilder/libvirt/* VMBuilder/plugins/libvirt/templates/ We can then edit VMBuilder/plugins/libvirt/templates/libvirtxml.tmpl to change: <interface type='network'> <source network='default'/> </interface> To: <interface type='bridge'> <source bridge='br0'/> </interface> " This is incorrect as the first stanza does not exist and is in fact parameterized like this: #if $bridge <interface type='bridge'> <source bridge='$bridge'/> #else <interface type='network'> #if $mac <mac address='$mac'/> #end if #if $network <source network='$network'/> #end if #end if #if $virtio_net <model type='virtio'/> #end if </interface> so rather than making this copy and edit of the template, a flag needs to be passed to vmbuilder. From vmbuilder --help: libvirt integration: --libvirt=URI Add VM to given URI --bridge=BRIDGE Set up bridged network connected to BRIDGE. --network=NETWORK Set up a network connection to virtual network NETWORK. So it looks like this section needs to be removed and the remaining instructions need to be modified to stipulate use of --bridge=BRIDGE. Cheers Michael ** Affects: ubuntu-docs (Ubuntu) Importance: Undecided Status: New -- serverguide virtualization chapter has incorrect networking instructions https://bugs.launchpad.net/bugs/567585 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs