mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Send a warning notification if there is not enough RAM left to start a VM. Implements #329.
This commit is contained in:
1 parent
c700804014
commit
ac75977ae0
8 files changed
+38
-1
No files matched your search
@@ -419,6 +419,9 @@ class VMwareVM(BaseVM):
|
||||
yield from self._start_ubridge()
|
||||
|
||||
self._read_vmx_file()
|
||||
# check if there is enough RAM to run
|
||||
if "memsize" in self._vmx_pairs:
|
||||
self.check_available_ram(int(self._vmx_pairs["memsize"]))
|
||||
self._set_network_options()
|
||||
self._set_serial_console()
|
||||
self._write_vmx_file()
|
||||
|
||||
Reference in new issue
Block a user