mirror of
https://github.com/GNS3/gns3-server
synced 2025-08-02 03:48:50 +00:00
Do not use builtin name.
This commit is contained in:
parent
02ad98664f
commit
4f13c63a52
@ -119,9 +119,9 @@ class Controller:
|
|||||||
|
|
||||||
for vm in vms:
|
for vm in vms:
|
||||||
# remove deprecated properties
|
# remove deprecated properties
|
||||||
for property in vm.copy():
|
for prop in vm.copy():
|
||||||
if property in ["enable_remote_console", "use_ubridge"]:
|
if prop in ["enable_remote_console", "use_ubridge"]:
|
||||||
del vm[property]
|
del vm[prop]
|
||||||
vm.setdefault("appliance_id", str(uuid.uuid4()))
|
vm.setdefault("appliance_id", str(uuid.uuid4()))
|
||||||
appliance = Appliance(vm["appliance_id"], vm)
|
appliance = Appliance(vm["appliance_id"], vm)
|
||||||
self._appliances[appliance.id] = appliance
|
self._appliances[appliance.id] = appliance
|
||||||
|
Loading…
Reference in New Issue
Block a user