# HG changeset patch # User igor@manas.xt.vpn # Date 1222085648 -10800 # Node ID 26d7bae7dcde81ecfccd09eb88140ba90fb4dffc # Parent 263d00b7542282b32c354c5e057a6e4500ee3fa0 path to network file diff -r 263d00b75422 -r 26d7bae7dcde xen-drbd-start.py --- a/xen-drbd-start.py Mon Sep 22 15:06:26 2008 +0300 +++ b/xen-drbd-start.py Mon Sep 22 15:14:08 2008 +0300 @@ -10,7 +10,7 @@ #sys.path.append('/etc/xen') try: - execfile(network) + execfile('/etc/xen/'+network) except: print "Can't find or interpret module %s with topology description" %(network) sys.exit(1) diff -r 263d00b75422 -r 26d7bae7dcde xen-drbd.py --- a/xen-drbd.py Mon Sep 22 15:06:26 2008 +0300 +++ b/xen-drbd.py Mon Sep 22 15:14:08 2008 +0300 @@ -261,7 +261,7 @@ sys.exit(2) except NameError: domain=domains[0] - execfile(network) + execfile('/etc/xen/'+network) xen_drbd_start="/etc/xen/xen-drbd-start" domain_create_line="xm create "+xen_drbd_start+" network="+network+" domain=%s"