Skip to content

Commit

Permalink
Removed ovf namespace from root element Envelope
Browse files Browse the repository at this point in the history
  • Loading branch information
breillyr committed Mar 8, 2019
1 parent 43f353f commit d2c35ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagefactory_plugins/ovfcommon/ovfcommon.py
Expand Up @@ -67,7 +67,7 @@ def __init__(self, img_uuid, vol_uuid, tpl_uuid, disk,
self.pool_id = pool_id

def generate_ovf_xml(self):
etroot = ElementTree.Element('ovf:Envelope')
etroot = ElementTree.Element('Envelope')
etroot.set('xmlns:ovf', "http://schemas.dmtf.org/ovf/envelope/1/")
etroot.set('xmlns:rasd', "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData")
etroot.set('xmlns:vssd', "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData")
Expand Down

0 comments on commit d2c35ba

Please sign in to comment.