[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix bootloader = "pygrub" via 'xm create'.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1168349083 0
# Node ID 4d3ac395ea57ee5aa35589822f0096aab0578edb
# Parent  8966444e69fab687160515bef48bf38ea4610a46
Fix bootloader = "pygrub" via 'xm create'.

Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/python/xen/xm/create.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r 8966444e69fa -r 4d3ac395ea57 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Tue Jan 09 13:24:42 2007 +0000
+++ b/tools/python/xen/xm/create.py     Tue Jan 09 13:24:43 2007 +0000
@@ -28,6 +28,7 @@ import xmlrpclib
 
 from xen.xend import sxp
 from xen.xend import PrettyPrint
+from xen.xend import osdep
 import xen.xend.XendClient
 from xen.xend.XendBootloader import bootloader
 from xen.util import blkif
@@ -759,6 +760,8 @@ def make_config(vals):
 
     config_image = configure_image(vals)
     if vals.bootloader:
+        if vals.bootloader == "pygrub":
+            vals.bootloader = osdep.pygrub_path
         config_image = run_bootloader(vals, config_image)
         config.append(['bootloader', vals.bootloader])
         if vals.bootargs:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.