Fix typo in vcpus on VirtualBoxVM, fixes: #1213

pull/1227/head
ziajka 7 years ago
parent 9c3ee02797
commit 009677f019

@ -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"):

@ -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": {

Loading…
Cancel
Save