mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Add appliance UUID added to the node data. Fixes #1334.
This commit is contained in:
1 parent
a54359d243
commit
89f7169589
3 files changed
+13
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user