mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-18 22:38:07 +00:00
Fix GNS3VM vCPUs control on VMware, fixes: #2324
This commit is contained in:
parent
75ceffb458
commit
255dc7ed9b
@ -272,11 +272,10 @@ class GNS3VM:
|
|||||||
if not engine.running:
|
if not engine.running:
|
||||||
if self._settings["vmname"] is None:
|
if self._settings["vmname"] is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
log.info("Start the GNS3 VM")
|
log.info("Start the GNS3 VM")
|
||||||
engine.vmname = self._settings["vmname"]
|
engine.vmname = self._settings["vmname"]
|
||||||
engine.ram = self._settings["ram"]
|
engine.ram = self._settings["ram"]
|
||||||
engine.vpcus = self._settings["vcpus"]
|
engine.vcpus = self._settings["vcpus"]
|
||||||
engine.headless = self._settings["headless"]
|
engine.headless = self._settings["headless"]
|
||||||
compute = yield from self._controller.add_compute(compute_id="vm",
|
compute = yield from self._controller.add_compute(compute_id="vm",
|
||||||
name="GNS3 VM is starting ({})".format(engine.vmname),
|
name="GNS3 VM is starting ({})".format(engine.vmname),
|
||||||
|
Loading…
Reference in New Issue
Block a user