From f968f6616f46fe0df93a7be60547258fd538c514 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 11 Nov 2016 10:25:06 +0100 Subject: [PATCH] Fix NameError: name 'available_ram' is not define Fix #767 --- gns3server/controller/gns3vm/vmware_gns3_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/gns3vm/vmware_gns3_vm.py b/gns3server/controller/gns3vm/vmware_gns3_vm.py index db3c0543..33085d64 100644 --- a/gns3server/controller/gns3vm/vmware_gns3_vm.py +++ b/gns3server/controller/gns3vm/vmware_gns3_vm.py @@ -70,7 +70,7 @@ class VMwareGNS3VM(BaseGNS3VM): # memory must be a multiple of 4 (VMware requirement) 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) if vcpus > available_vcpus: