xen-drbd

diff xen-drbd-start.py @ 41:a2e536ffabf7

bootloader arg in dump
author igor@manas.xt.vpn
date Mon Sep 22 15:31:57 2008 +0300 (2008-09-22)
parents 26d7bae7dcde
children a91c91c166c4
line diff
     1.1 --- a/xen-drbd-start.py	Mon Sep 22 15:14:08 2008 +0300
     1.2 +++ b/xen-drbd-start.py	Mon Sep 22 15:31:57 2008 +0300
     1.3 @@ -107,13 +107,24 @@
     1.4          print "serial=\"%s\""%serial
     1.5      else:
     1.6          print "name = \"%s\""% name
     1.7 -        print "kernel = \"%s\""% kernel
     1.8 -        print "ramdisk = \"%s\""% ramdisk
     1.9 +        try:
    1.10 +            print "kernel = \"%s\""% kernel
    1.11 +        except:
    1.12 +            pass
    1.13 +        try:
    1.14 +            print "ramdisk = \"%s\""% ramdisk
    1.15 +        except:
    1.16 +            pass
    1.17          print "memory = %s"% memory
    1.18          print "vcpus = %s"% vcpus
    1.19          print "disk =", disk
    1.20          print "vif =", vif
    1.21          print "root = \"%s\""% root
    1.22          print "extra = \"%s\""% extra
    1.23 +        try:
    1.24 +            print "bootloader = \"%s\""% bootloader
    1.25 +        except:
    1.26 +            pass
    1.27 +
    1.28  #    else:
    1.29