Merge lp:~mvo/vmbuilder/add-natty into lp:vmbuilder

Proposed by Michael Vogt on 2010-11-16
Status: Merged
Merge reported by: Michael Vogt
Merged at revision: not available
Proposed branch: lp:~mvo/vmbuilder/add-natty
Merge into: lp:vmbuilder
Diff against target: 51 lines (+26/-2)
3 files modified
VMBuilder/plugins/ubuntu/distro.py (+2/-1)
VMBuilder/plugins/ubuntu/maverick.py (+2/-1)
VMBuilder/plugins/ubuntu/natty.py (+22/-0)
To merge this branch: bzr merge lp:~mvo/vmbuilder/add-natty
Reviewer Review Type Date Requested Status
VMBuilder 2010-11-16 Pending
Review via email: mp+40977@code.launchpad.net

Description of the Change

Adds natty and fixes no longer available kernels on maverick.

To post a comment you must log in.
Michael Vogt (mvo) wrote :

I'm happy to merge this in myself if someone gives me write access to trunk.

Soren Hansen (soren) wrote :

You can now.

Michael Vogt (mvo) wrote :

Thanks! Done.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'VMBuilder/plugins/ubuntu/distro.py'
2--- VMBuilder/plugins/ubuntu/distro.py 2010-06-15 19:55:36 +0000
3+++ VMBuilder/plugins/ubuntu/distro.py 2010-11-16 16:37:57 +0000
4@@ -28,7 +28,8 @@
5 class Ubuntu(Distro):
6 name = 'Ubuntu'
7 arg = 'ubuntu'
8- suites = ['dapper', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 'maverick']
9+ suites = ['dapper', 'gutsy', 'hardy', 'intrepid', 'jaunty',
10+ 'karmic', 'lucid', 'maverick', 'natty']
11
12 # Maps host arch to valid guest archs
13 valid_archs = { 'amd64' : ['amd64', 'i386', 'lpia' ],
14
15=== modified file 'VMBuilder/plugins/ubuntu/maverick.py'
16--- VMBuilder/plugins/ubuntu/maverick.py 2010-06-15 10:51:16 +0000
17+++ VMBuilder/plugins/ubuntu/maverick.py 2010-11-16 16:37:57 +0000
18@@ -19,4 +19,5 @@
19 from VMBuilder.plugins.ubuntu.lucid import Lucid
20
21 class Maverick(Lucid):
22- pass
23+ valid_flavours = { 'i386' : ['generic', 'generic-pae', 'virtual'],
24+ 'amd64' : ['generic', 'server', 'virtual'] }
25
26=== added file 'VMBuilder/plugins/ubuntu/natty.py'
27--- VMBuilder/plugins/ubuntu/natty.py 1970-01-01 00:00:00 +0000
28+++ VMBuilder/plugins/ubuntu/natty.py 2010-11-16 16:37:57 +0000
29@@ -0,0 +1,22 @@
30+#
31+# Uncomplicated VM Builder
32+# Copyright (C) 2010 Canonical Ltd.
33+#
34+# See AUTHORS for list of contributors
35+#
36+# This program is free software: you can redistribute it and/or modify
37+# it under the terms of the GNU General Public License version 3, as
38+# published by the Free Software Foundation.
39+#
40+# This program is distributed in the hope that it will be useful,
41+# but WITHOUT ANY WARRANTY; without even the implied warranty of
42+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43+# GNU General Public License for more details.
44+#
45+# You should have received a copy of the GNU General Public License
46+# along with this program. If not, see <http://www.gnu.org/licenses/>.
47+#
48+from VMBuilder.plugins.ubuntu.maverick import Maverick
49+
50+class Natty(Maverick):
51+ pass

Subscribers

People subscribed via source and target branches