xen-drbd

changeset 61:e005bb283f54

minor fixes for usage with xen 3.4 (HVM)
author igor@book.xt.vpn
date Thu Jun 25 15:22:25 2009 +0300 (2009-06-25)
parents dd23766a87c6
children d9780d8380b9
files xen-drbd-start.py
line diff
     1.1 --- a/xen-drbd-start.py	Thu Mar 19 19:42:41 2009 +0200
     1.2 +++ b/xen-drbd-start.py	Thu Jun 25 15:22:25 2009 +0300
     1.3 @@ -46,6 +46,18 @@
     1.4  if domain_types[N] == 'hvm':
     1.5      kernel=hvmloader
     1.6      builder='hvm'
     1.7 +    try:
     1.8 +        del extra
     1.9 +    except:
    1.10 +        pass
    1.11 +    try:
    1.12 +        del root
    1.13 +    except:
    1.14 +        pass
    1.15 +    try:
    1.16 +        del ramdisk
    1.17 +    except:
    1.18 +        pass
    1.19  
    1.20  try:
    1.21      memory=mem_table[domain]
    1.22 @@ -144,3 +156,7 @@
    1.23  
    1.24  #    else:
    1.25  
    1.26 +try:
    1.27 +    del domain, N, x, i, node1, node2, ip_address, node1_ip, node2_ip, domains, domain_types, domain_home, mem_table, vcpus_table, disk_table, lvm_pv, lvm_vg_name, bridges, vlans, management_interface, trunk, vbridges_table, domain_name
    1.28 +except:
    1.29 +    pass