[Bug 392097] Re: vmbuilder ignores mac option when using bridge network

Lee Maguire 392097 at bugs.launchpad.net
Thu Jun 2 11:13:08 UTC 2011


I still see the issue in Natty.  the "--mac" argument is ignored if
bridging is used.

 python-vm-builder=0.12.4+bzr464-0ubuntu1


I've needed to make the following local modification to get it working.

--- /etc/vmbuilder/libvirt/libvirtxml.tmpl.dist	2010-11-17 15:00:44.000000000 +0000
+++ /etc/vmbuilder/libvirt/libvirtxml.tmpl	2011-06-02 11:58:46.365678998 +0100
@@ -21,10 +21,8 @@
 #else
     <interface type='network'>
-#if $mac
-      <mac address='$mac'/>
-#end if
-#if $network
       <source network='$network'/>
 #end if
+#if $mac
+      <mac address='$mac'/>
 #end if
 #if $virtio_net

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/392097

Title:
  vmbuilder ignores mac option when using bridge network



More information about the Ubuntu-server-bugs mailing list