mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-16 05:18:56 +00:00
Fix typo in vcpus on VirtualBoxVM, fixes: #1213
This commit is contained in:
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…
Reference in New Issue
Block a user