# HG changeset patch # User igor@manas.xt.vpn # Date 1222369519 -10800 # Node ID a91c91c166c4135c7a3f5460124d226ea7c05257 # Parent cbe58da31273812f6a96dcbebf32ea2d3c03f035 double xen-drbd pass diff -r cbe58da31273 -r a91c91c166c4 xen-drbd-start.py --- a/xen-drbd-start.py Tue Sep 23 15:51:04 2008 +0300 +++ b/xen-drbd-start.py Thu Sep 25 22:05:19 2008 +0300 @@ -28,6 +28,15 @@ vncconsole=0 stdvga=0 serial='pty' +else: + root="/dev/hda1 ro" + extra="" + +try: + execfile('/etc/xen/'+network) +except: + print "Can't find or interpret module %s with topology description" %(network) + sys.exit(1) try: memory=mem_table[domain] @@ -86,8 +95,6 @@ x+=1 -root="/dev/hda1 ro" -extra="" def print_config(): if domain_types[N] == 'hvm':