Add appliance UUID added to the node data. Fixes #1334.

This commit is contained in:
grossmj committed 2018-08-09 17:45:33 +07:00
1 parent a54359d243
commit 89f7169589
3 files changed
+13 -2

No files matched your search

+1 -1
View File
@@ -480,7 +480,7 @@ class Project:
default_name_format = template.pop("default_name_format", "{name}-{0}")
name = default_name_format.replace("{name}", name)
node_id = str(uuid.uuid4())
node = yield from self.add_node(compute, name, node_id, node_type=node_type, **template)
node = yield from self.add_node(compute, name, node_id, node_type=node_type, appliance_id=appliance_id, **template)
return node
@open_required