vmbuilder should use distro-info to determine available Ubuntu releases

Bug #1037571 reported by Robie Basak
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

vmbuilder on a Precise host cannot install Quantal guests. I think this is a valid use case. I will file a separate bug to SRU the knowledge of Quantal's existence to Precise. But it would solve the problem once and for all if the Ubuntu plugin used distro-info to figure out what Ubuntu releases are available.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-vm-builder 0.12.4+bzr477-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Thu Aug 16 09:39:52 2012
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:
 TERM=xterm
 LC_COLLATE=C
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
Robie Basak (racb) wrote :

SRU request is bug 1037574.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

That woudl be nice, yes.

Changed in vm-builder (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
James Page (james-page) wrote :

Dropping release specific tasks as currently no commitment to fix other than dev.

no longer affects: vm-builder (Ubuntu Quantal)
no longer affects: vm-builder (Ubuntu Precise)
Revision history for this message
Tapani Tarvainen (ubuntu-tapani) wrote :

This would indeed be nice. I'd like to keep VM host stable, i.e., on LTS release, and yet be able to install guest VMs with newer releases easily (same way as older releases).

Revision history for this message
TJ (tj) wrote :

I've just encountered this on 12.04 Precise, wanting to build raring VMs. I created the attached shell script that will add any new suites a.k.a. distro a.k.a releases (e.g. quantal, raring) to the installed list.

Simply call the script once and it will add the required files. Needs calling each time a new suite a.k.a. release is available. Don't forget to give it execute permissions:

sudo chmod a+x /usr/local/bin/vm-builder-add-suites

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.