[virt-tools-list] [PATCH] virtinst: Add latest Ubuntu releases

Marc Deslauriers marc.deslauriers at canonical.com
Mon Apr 23 13:57:15 UTC 2012


Hi,

Here's a patch to add the latest Ubuntu releases, to add "LTS" when
appropriate, and to mark Maverick as being unsupported.

Thanks,

Marc.

>From 287d13ee843bcbc33365075573708e45a2791329 Mon Sep 17 00:00:00 2001
From: Marc Deslauriers <marc.deslauriers at ubuntu.com>
Date: Mon, 23 Apr 2012 09:54:32 -0400
Subject: [PATCH] Add latest Ubuntu releases, and add LTS when appropriate.

---
 man/en/virt-install.1 |    8 ++++++--
 virtinst/osdict.py    |   21 +++++++++++++++++++--
 2 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/man/en/virt-install.1 b/man/en/virt-install.1
index 54f8675..425239d 100644
--- a/man/en/virt-install.1
+++ b/man/en/virt-install.1
@@ -451,14 +451,18 @@ Values for some recent \s-1OS\s0 options are:
 .IX Item "opensuse12           : openSuse 12"
 .IP "opensuse11           : openSuse 11" 2
 .IX Item "opensuse11           : openSuse 11"
+.IP "ubuntuquantal        : Ubuntu 12.10 (Quantal Quetzal)" 2
+.IX Item "ubuntuquantal        : Ubuntu 12.10 (Quantal Quetzal)"
+.IP "ubuntuprecise        : Ubuntu 12.04 \s-1LTS\s0 (Precise Pangolin)" 2
+.IX Item "ubuntuprecise        : Ubuntu 12.04 LTS (Precise Pangolin)"
 .IP "ubuntuoneiric        : Ubuntu 11.10 (Oneiric Ocelot)" 2
 .IX Item "ubuntuoneiric        : Ubuntu 11.10 (Oneiric Ocelot)"
 .IP "ubuntunatty          : Ubuntu 11.04 (Natty Narwhal)" 2
 .IX Item "ubuntunatty          : Ubuntu 11.04 (Natty Narwhal)"
 .IP "ubuntumaverick       : Ubuntu 10.10 (Maverick Meerkat)" 2
 .IX Item "ubuntumaverick       : Ubuntu 10.10 (Maverick Meerkat)"
-.IP "ubuntulucid          : Ubuntu 10.04 (Lucid Lynx)" 2
-.IX Item "ubuntulucid          : Ubuntu 10.04 (Lucid Lynx)"
+.IP "ubuntulucid          : Ubuntu 10.04 \s-1LTS\s0 (Lucid Lynx)" 2
+.IX Item "ubuntulucid          : Ubuntu 10.04 LTS (Lucid Lynx)"
 .IP "ubuntuhardy          : Ubuntu 8.04 \s-1LTS\s0 (Hardy Heron)" 2
 .IX Item "ubuntuhardy          : Ubuntu 8.04 LTS (Hardy Heron)"
 .RE
diff --git a/virtinst/osdict.py b/virtinst/osdict.py
index 54569b3..d96a59e 100644
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -516,7 +516,7 @@ OS_TYPES = {
         },
     },
     "ubuntulucid": {
-        "label": "Ubuntu 10.04 (Lucid Lynx)",
+        "label": "Ubuntu 10.04 LTS (Lucid Lynx)",
         "distro": "ubuntu",
         "supported": True,
         "devices" : {
@@ -527,7 +527,6 @@ OS_TYPES = {
     "ubuntumaverick": {
         "label": "Ubuntu 10.10 (Maverick Meerkat)",
         "distro": "ubuntu",
-        "supported": True,
         "devices" : {
             DISK : VIRTIO_DISK,
             NET  : VIRTIO_NET,
@@ -551,6 +550,24 @@ OS_TYPES = {
             NET  : VIRTIO_NET,
         },
     },
+    "ubuntuprecise": {
+        "label": "Ubuntu 12.04 LTS (Precise Pangolin)",
+        "distro": "ubuntu",
+        "supported": True,
+        "devices" : {
+            DISK : VIRTIO_DISK,
+            NET  : VIRTIO_NET,
+        },
+    },
+    "ubuntuquantal": {
+        "label": "Ubuntu 12.10 (Quantal Quetzal)",
+        "distro": "ubuntu",
+        "supported": True,
+        "devices" : {
+            DISK : VIRTIO_DISK,
+            NET  : VIRTIO_NET,
+        },
+    },
 
     "generic24": {
         "label": "Generic 2.4.x kernel"
-- 
1.7.9.5





More information about the virt-tools-list mailing list