show a message on screen about memory requirement, then die and abort the installation.
Signed-off-by: Oguz Bektas <o.bek...@proxmox.com> --- proxinstall | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proxinstall b/proxinstall index e6a29b3..f8dd1d6 100755 --- a/proxinstall +++ b/proxinstall @@ -3234,6 +3234,11 @@ sub create_intro_view { cleanup_view(); + if (int($total_memory/1024) < 1) { + display_error("you need at least 1GB memory to install Proxmox\n"); + die "not enough memory"; + } + if ($setup->{product} eq 'pve') { eval { my $cpuinfo = file_get_contents('/proc/cpuinfo'); -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel