xen-drbd

changeset 40:26d7bae7dcde

path to network file
author igor@manas.xt.vpn
date Mon Sep 22 15:14:08 2008 +0300 (2008-09-22)
parents 263d00b75422
children a2e536ffabf7
files xen-drbd-start.py xen-drbd.py
line diff
     1.1 --- a/xen-drbd-start.py	Mon Sep 22 15:06:26 2008 +0300
     1.2 +++ b/xen-drbd-start.py	Mon Sep 22 15:14:08 2008 +0300
     1.3 @@ -10,7 +10,7 @@
     1.4  #sys.path.append('/etc/xen')
     1.5  
     1.6  try:
     1.7 -	execfile(network)
     1.8 +	execfile('/etc/xen/'+network)
     1.9  except:
    1.10  	print "Can't find or interpret module %s with topology description" %(network)
    1.11  	sys.exit(1)
     2.1 --- a/xen-drbd.py	Mon Sep 22 15:06:26 2008 +0300
     2.2 +++ b/xen-drbd.py	Mon Sep 22 15:14:08 2008 +0300
     2.3 @@ -261,7 +261,7 @@
     2.4      sys.exit(2)
     2.5  except NameError:
     2.6      domain=domains[0]
     2.7 -    execfile(network)
     2.8 +    execfile('/etc/xen/'+network)
     2.9  
    2.10  xen_drbd_start="/etc/xen/xen-drbd-start"
    2.11  domain_create_line="xm create "+xen_drbd_start+" network="+network+" domain=%s"