vmbuilder should provide an option to choose which libvirt virtual network

Bug #351509 reported by Jack Coulter
4
Affects Status Importance Assigned to Milestone
VMBuilder
Fix Released
Undecided
Unassigned
vm-builder (Ubuntu)
Fix Released
Wishlist
Mackenzie Morgan

Bug Description

It is possible to have more than on virtual network with libvirt, currently vmbuilder assumes that created VMs are connected to the 'default' virtual network.

The user should be able to specify which virtual network they want the newly created VM to be connected to, if this option is not specified, it will fall back to the 'default' virtual network.

Attached is a patch which I believe fixes this bug.

Related branches

Revision history for this message
Jack Coulter (jscinoz) wrote :
Revision history for this message
Soren Hansen (soren) wrote :

The --network option should be given a default value of "default" so that we don't have to put conditionals in the template. Can you make that change and perhaps put it in a bzr branch? Thanks!

Changed in vm-builder (Ubuntu):
status: New → Incomplete
Revision history for this message
Jack Coulter (jscinoz) wrote :

Soren, is the attached patch what you wanted?

Chuck Short (zulcss)
Changed in vm-builder (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Low
importance: Low → Wishlist
Revision history for this message
Nigel Babu (nigelbabu) wrote :
Changed in vm-builder (Ubuntu):
assignee: nobody → Mackenzie Morgan (maco.m)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vm-builder - 0.11.3-0ubuntu2

---------------
vm-builder (0.11.3-0ubuntu2) lucid; urgency=low

  * network.diff:
    - allows the user to specify which virtual network the built VM is connected to (LP: #351509)
 -- Nigel Babu <email address hidden> Wed, 09 Dec 2009 04:17:37 +0530

Changed in vm-builder (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Loïc Minier (lool) wrote :

The attached and uploaded patch had a typo: "if $network" instead of "#if $network".

I uploaded a fixed package.

Revision history for this message
Loïc Minier (lool) wrote :

I submitted a bzr branch to merge upstream.

Soren Hansen (soren)
Changed in vmbuilder:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.