search for: xend_autorestart

Displaying 2 results from an estimated 2 matches for "xend_autorestart".

Did you mean: _xend_autorestart
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...8-07-20 12:53:18.000000000 +0100 @@ -18,7 +18,8 @@ # Use is subject to license terms. import os import commands +import xen.util.auxbin _scripts_dir = { "Linux": "/etc/xen/scripts", @@ -92,6 +93,6 @@ scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autorestart) -pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") +pygrub_path = _get(_pygrub_path, xen.util.auxbin.pathTo("pygrub")) vif_script = _get(_vif_script, "vif-bridge") lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat) If you agre...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
...blexec = osdep.pygrub_path blcfg = None for (devtype, devinfo) in self.info.all_devices_sxpr(): diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py --- a/tools/python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -29,8 +29,13 @@ _xend_autorestart = { "SunOS": False, } +_pygrub_path = { + "SunOS": "/usr/lib/xen/bin/pygrub" +} + def _get(var, default=None): return var.get(os.uname()[0], default) scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autor...