From: Marco Sinhoreli Date: Thu, 26 Jun 2008 18:07:13 +0200 Subject: [PATCH] Fix path to pygrub --- virtinst/util.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/virtinst/util.py b/virtinst/util.py index 92dacfe..dcb4ee8 100644 --- a/virtinst/util.py +++ b/virtinst/util.py @@ -402,11 +402,11 @@ def pygrub_path(conn=None): if (cap.host.arch == "i86pc"): return "/usr/lib/xen/bin/pygrub" else: - return "/usr/bin/pygrub" + return "/usr/lib/xen-default/bin/pygrub" if platform.system() == "SunOS": return "/usr/lib/xen/bin/pygrub" - return "/usr/bin/pygrub" + return "/usr/lib/xen-default/bin/pygrub" def uri_split(uri): """ --