1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-12 09:00:57 +00:00

Do not use builtin name.

This commit is contained in:
grossmj 2017-10-13 17:51:19 +08:00
parent 02ad98664f
commit 4f13c63a52

View File

@ -119,9 +119,9 @@ class Controller:
for vm in vms:
# remove deprecated properties
for property in vm.copy():
if property in ["enable_remote_console", "use_ubridge"]:
del vm[property]
for prop in vm.copy():
if prop in ["enable_remote_console", "use_ubridge"]:
del vm[prop]
vm.setdefault("appliance_id", str(uuid.uuid4()))
appliance = Appliance(vm["appliance_id"], vm)
self._appliances[appliance.id] = appliance