mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix logging of clone XML
This commit is contained in:
parent
1625fa0d2d
commit
dc860c46e5
@ -409,8 +409,8 @@ def create(vm_):
|
||||
else:
|
||||
raise SaltCloudExecutionFailure("Disk type '{0}' not supported".format(disk_type))
|
||||
|
||||
log.debug("Clone XML '{0}'".format(domain_xml))
|
||||
clone_xml = ElementTree.tostring(domain_xml)
|
||||
log.debug("Clone XML '{0}'".format(clone_xml))
|
||||
|
||||
clone_domain = conn.defineXMLFlags(clone_xml, libvirt.VIR_DOMAIN_DEFINE_VALIDATE)
|
||||
cleanup.append({'what': 'domain', 'item': clone_domain})
|
||||
|
Loading…
Reference in New Issue
Block a user