blob: 092480ff20c25eb71f8b5f8e516f62785f3ba67b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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")
|