ubuntu-vm-builder in maverick does not build maverick VMs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntu-vm-builder
ubuntu-vm-builder in maverick does not build maverick vms.
$ dpkg --list | fgrep ubuntu-vm-builder
ii ubuntu-vm-builder 0.12.4-0ubuntu1 Ubuntu VM builder
$ dpkg --list | fgrep python-vm-builder
ii python-vm-builder 0.12.4-0ubuntu1 VM builder
sudo ubuntu-vm-builder kvm maverick
2010-10-04 16:42:24,232 INFO : Calling hook: preflight_check
2010-10-04 16:42:24,233 ERROR : Invalid suite: "maverick". Valid suites are: dapper gutsy hardy intrepid jaunty karmic lucid
Traceback (most recent call last):
File "/usr/bin/
uvb.main()
File "/usr/lib/
distro.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(
File "/usr/lib/
raise VMBuilderUserEr
VMBuilder.
tags: | added: patch |
affects: | ubuntu-vm-builder (Ubuntu) → vm-builder (Ubuntu) |
Changed in ubuntu: | |
status: | New → Confirmed |
affects: | ubuntu-jeos → ubuntu |
no longer affects: | ubuntu |
I solved the issue by adding "maverick" to the suites array in the file: python2. 6/dist- packages/ VMBuilder/ plugins/ ubuntu/ distro. py
/usr/lib/
And then copying the file: python2. 6/dist- packages/ VMBuilder/ plugins/ ubuntu/ Lucid.py
/usr/lib/
to a new file called: python2. 6/dist- packages/ VMBuilder/ plugins/ ubuntu/ Maverick. py
/usr/lib/
And replacing the class name of 'Lucid' with 'Maverick'.