Mark McLoughlin | 2 May 14:17
Picon
Favicon

[patch 8/8] Add the livecd installer

This patch adds a LiveCDInstaller class which has the simple
job of setting up the cdrom disk and returning the appropriate
<os> blob to boot from it.

Signed-off-by: Mark McLoughlin <markmc@...>

Index: virtinst--devel/virt-install
===================================================================
--- virtinst--devel.orig/virt-install
+++ virtinst--devel/virt-install
@@ -526,6 +526,8 @@ def main():

     if not options.installer or options.installer == "distro":
         installer = virtinst.DistroInstaller(type = type)
+    elif options.installer == "livecd":
+        installer = virtinst.LiveCDInstaller(type = type)
     else:
         print >> sys.stderr, "Unknown installer type '%s'" % options.installer
         sys.exit(1)
Index: virtinst--devel/virtinst/LiveCDInstaller.py
===================================================================
--- /dev/null
+++ virtinst--devel/virtinst/LiveCDInstaller.py
@@ -0,0 +1,65 @@
+#!/usr/bin/python -tt
+#
+# An installer class for LiveCD images
+#
+# Copyright 2007  Red Hat, Inc.
+# Mark McLoughlin <markmc@...>
(Continue reading)


Gmane