1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Fix typo in vcpus on VirtualBoxVM, fixes: #1213

This commit is contained in:
ziajka 2017-11-07 11:15:49 +01:00
parent 9c3ee02797
commit 009677f019
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class VirtualBoxGNS3VM(BaseGNS3VM):
log.info('"{}" state is {}'.format(self._vmname, vm_state)) log.info('"{}" state is {}'.format(self._vmname, vm_state))
if vm_state == "poweroff": if vm_state == "poweroff":
yield from self.set_vcpus(self.vpcus) yield from self.set_vcpus(self.vcpus)
yield from self.set_ram(self.ram) yield from self.set_ram(self.ram)
if vm_state in ("poweroff", "saved"): if vm_state in ("poweroff", "saved"):

View File

@ -42,7 +42,7 @@ GNS3VM_SETTINGS_SCHEMA = {
"enum": ["vmware", "virtualbox", None] "enum": ["vmware", "virtualbox", None]
}, },
"vcpus": { "vcpus": {
"description": "Number of VPCUS affected to the VM", "description": "Number of vCPUS affected to the VM",
"type": "integer" "type": "integer"
}, },
"ram": { "ram": {