xen-drbd
changeset 39:263d00b75422
path to network file
author | igor@manas.xt.vpn |
---|---|
date | Mon Sep 22 15:06:26 2008 +0300 (2008-09-22) |
parents | 30671fe7fd79 |
children | 26d7bae7dcde |
files | xen-drbd-install.py xen-drbd.py |
line diff
1.1 --- a/xen-drbd-install.py Thu Sep 18 11:42:52 2008 +0300 1.2 +++ b/xen-drbd-install.py Mon Sep 22 15:06:26 2008 +0300 1.3 @@ -46,7 +46,7 @@ 1.4 sys.exit(1) 1.5 1.6 try: 1.7 - execfile(network) 1.8 + execfile('/etc/xen/'+network) 1.9 except IOError: 1.10 print "Network configuration file <%s> not found " % network 1.11 if network == 'network':
2.1 --- a/xen-drbd.py Thu Sep 18 11:42:52 2008 +0300 2.2 +++ b/xen-drbd.py Mon Sep 22 15:06:26 2008 +0300 2.3 @@ -253,7 +253,7 @@ 2.4 2.5 sys.path.append('/etc/xen') 2.6 try: 2.7 - execfile(network) 2.8 + execfile('/etc/xen/'+network) 2.9 except IOError: 2.10 print "Network configuration file <%s> not found " % network 2.11 if network == 'network':