mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
parent
b4467d83bf
commit
e870b0cfa0
@ -118,7 +118,10 @@ class VMwareGNS3VM(BaseGNS3VM):
|
|||||||
if vmware_tools_state not in ("installed", "running"):
|
if vmware_tools_state not in ("installed", "running"):
|
||||||
raise GNS3VMError("VMware tools are not installed in {}".format(self.vmname))
|
raise GNS3VMError("VMware tools are not installed in {}".format(self.vmname))
|
||||||
|
|
||||||
|
try:
|
||||||
running = yield from self._is_running()
|
running = yield from self._is_running()
|
||||||
|
except VMwareError as e:
|
||||||
|
raise GNS3VMError("Could not list VMware VMs: {}".format(str(e)))
|
||||||
if not running:
|
if not running:
|
||||||
log.info("Update GNS3 VM settings")
|
log.info("Update GNS3 VM settings")
|
||||||
# set the number of vCPUs and amount of RAM
|
# set the number of vCPUs and amount of RAM
|
||||||
|
Loading…
Reference in New Issue
Block a user