mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
parent
0f0dff3bbb
commit
f968f6616f
@ -70,7 +70,7 @@ class VMwareGNS3VM(BaseGNS3VM):
|
|||||||
|
|
||||||
# memory must be a multiple of 4 (VMware requirement)
|
# memory must be a multiple of 4 (VMware requirement)
|
||||||
if ram % 4 != 0:
|
if ram % 4 != 0:
|
||||||
raise GNS3VMError("Allocated memory for the GNS3 VM must be a multiple of 4".format(available_ram))
|
raise GNS3VMError("Allocated memory {} for the GNS3 VM must be a multiple of 4".format(ram))
|
||||||
|
|
||||||
available_vcpus = psutil.cpu_count(logical=False)
|
available_vcpus = psutil.cpu_count(logical=False)
|
||||||
if vcpus > available_vcpus:
|
if vcpus > available_vcpus:
|
||||||
|
Loading…
Reference in New Issue
Block a user