mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Merge pull request #1212 from GNS3/fix-vcpus-controll-on-vmware
Fix GNS3VM vCPUs control on VMware, fixes: #2324
This commit is contained in:
commit
ace7b0c69f
@ -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