class vm(object):
"""
@@ -62,7 +63,7 @@
self.description = ""
if not self.nr_vcpus:
self.nr_vcpus = 1
- if not self.type:
+ if self.type == VM_TYPE_UNKNOWN:
raise ValueError("VM type is not set")
if not self.arch:
raise ValueError("VM arch is not set")
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools