Commit 07471700 by Karsa Zoltán István

ci beta version

parent 20f8ce8f
......@@ -196,7 +196,6 @@ class Disk(object):
def create_ci_disk(self, meta_data, user_data):
disk_path = self.get_path()
logger.info("Create CI iso to %s", disk_path)
print("Create CI iso to %s", disk_path)
with open(self.dir + '/meta-data', 'w') as f:
f.write(meta_data)
with open(self.dir + '/user-data', 'w') as f:
......
......@@ -32,6 +32,9 @@ def create(disk_desc):
def create_ci_disk(disk_desc, meta_data, user_data):
disk = Disk.deserialize(disk_desc)
disk.create_ci_disk(meta_data=meta_data, user_data=user_data)
return {'size': disk.size,
'type': disk.format,
'checksum': disk.checksum, }
class download(AbortableTask):
......
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