Fix bootloader = "pygrub" via 'xm create'.

Signed-off-by: John Levon <john.levon@sun.com>
This commit is contained in:
Tim Deegan committed 2007-01-09 13:24:43 +00:00
1 parent 662e32f5cc
commit eb568d6624
1 file changed
+3
+3
View File
@@ -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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.