pkgsrc/sysutils/xentools33/patches/patch-be
cegger 09edac3ab5 Import Xen 3.3.0-rc3
The Xen virtual machine monitor allows running several virtual machines on a
single physical machine.  The xentools33 package contains the tools to create,
destroy and control the virtual machines.
The xentools33 package contains the tools for Xen 3.3.x
2008-08-07 20:26:56 +00:00

13 lines
517 B
Text

$NetBSD: patch-be,v 1.1.1.1 2008/08/07 20:26:58 cegger Exp $
--- python/xen/xm/getlabel.py.orig 2008-08-01 16:38:07.000000000 +0200
+++ python/xen/xm/getlabel.py
@@ -59,7 +59,7 @@ def get_domain_label(configfile):
if configfile[0] == '/':
fd = open(configfile, "rb")
else:
- for prefix in [".", "/etc/xen"]:
+ for prefix in [".", "@XENDCONFDIR@"]:
abs_file = prefix + "/" + configfile
if os.path.isfile(abs_file):
fd = open(abs_file, "rb")