> def clean_system(host, virt='Xen'):
> l = live.domain_list(host, virt)
> - if len(l) > 1:
> +
> + if virt == "XenFV" or virt == "Xen":
> + if len(l) > 1:
> + return False
> + else:
> + return True
Typos error, it takes four spaces.
Thanks! I forgot to test the case where the Xen system had Domain-0
plus a guest defined. Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com