Public bug reported:

Binary package hint: python-vm-builder

"vmbuilder kvm ubuntu --mac=00:16:3e:10:34:31" builds a VM with
resulting MAC "52:54:00:xx:xx:xx" : a "virsh dumpxml <vm> | grep
address" returns the latter address number, not the former. And the DHCP
leases file reports the same number.

If i provide the MAC address with hyphens instead of colons as
separator, i get a "malformed MAC address" error from the
preflight_check of post_install hook (like 25 mn in the game, out of 30
mn total, even though i have "tmpfs= -"), which indicates that the --mac
parm was not completely ignored (just partly ?) (looking at
/usr/share/pyshared/VMBuilder/plugins/network/__init__.py it looks like
it expects colons and nothing else)

I've tried enclosing the address in single quotes, just to be sure, but
i get the same result.

BTW, i invoke vmbuilder with the --verbose option, but do not get any
report on any MAC address, just a general "configure_networking" hook
running info msg.

I have, in the [kvm] section of ~/.vmbuilder.cfg, "bridge = br0", in case that 
matters. The resulting XML shows
<interface type='bridge'>
      <mac address='52:54:00:7f:93:28'/>
      <source bridge='br0'/>
      <target dev='vnet2'/>
      <model type='virtio'/>
</interface>

Also in the cfg file,
[DEFAULT]
arch = amd64
[ubuntu]
suite = lucid 
flavour = server

(i have no idea what could go in the [kvm/ubuntu] section of this file)

$ lsb_release -rd
Description:    Ubuntu 10.04 LTS
Release:        10.04

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vmbuilder 0.12.4-0ubuntu fails to consider MAC address
https://bugs.launchpad.net/bugs/629242
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to