vmbuilder ignores mac option when using bridge network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Fix Released
|
Low
|
Soren Hansen | ||
Lucid |
Fix Released
|
Undecided
|
Bartosz Kosiorek | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Low
|
Soren Hansen |
Bug Description
=======
Impact: specified macaddrs are ignored when using a bridge
Development fix: always specify the mac addr when it has been specified
Stable fix: same as development fix
Regression potential: if misapplied, networking for vmbuilder-built guests could be wrong.
Test case: build a vm using '--bridge br0 --max <somemac>' and check the resulting .xml
=======
On Jaunty 9.04
When using Bridge networking and specifying --bridge br0, vmbuilder ignores the --mac option.
Here is a patch:
--- /etc/vmbuilder/
+++ /etc/vmbuilder/
@@ -20,11 +20,11 @@
<source bridge='$bridge'/>
#else
<interface type='network'>
+ <source network='default'/>
+#end if
#if $mac
<mac address='$mac'/>
#end if
- <source network='default'/>
-#end if
#if $virtio_net
<model type='virtio'/>
#end if
Jarl
tags: | added: patch |
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Low |
Changed in vm-builder (Ubuntu): | |
status: | Fix Released → Fix Committed |
Thanks Ill take a look at this closer.
Regards
chuck