1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Fix GNS3VM vCPUs control on VMware, fixes: #2324

This commit is contained in:
ziajka 2017-11-06 15:15:37 +01:00
parent 75ceffb458
commit 255dc7ed9b

View File

@ -272,11 +272,10 @@ class GNS3VM:
if not engine.running:
if self._settings["vmname"] is None:
return
log.info("Start the GNS3 VM")
engine.vmname = self._settings["vmname"]
engine.ram = self._settings["ram"]
engine.vpcus = self._settings["vcpus"]
engine.vcpus = self._settings["vcpus"]
engine.headless = self._settings["headless"]
compute = yield from self._controller.add_compute(compute_id="vm",
name="GNS3 VM is starting ({})".format(engine.vmname),