Commit f9f78ee7 by Szeberényi Imre

raw_data fix

parent 3db7df81
......@@ -93,7 +93,9 @@ class VMInstance:
# Building raw data into xml
if self.raw_data:
raw_data = ET.fromstring("<raw_data>" + self.raw_data + "</raw_data>")
for child in raw_data:
# Basic virtual machine paramaters
ET.SubElement(xml_top, 'name').text =
ET.SubElement(xml_top, 'vcpu').text = str(self.vcpu)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment