Check that the system has at least 2 GiB of usable RAM.
The docs for the pmg and pbs (and with this patch series pve as well) already
specify 2 GiB as the minimum RAM needed.

Signed-off-by: Noel Ullreich <n.ullre...@proxmox.com>
---
 proxinstall                       | 4 ++--
 proxmox-tui-installer/src/main.rs | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/proxinstall b/proxinstall
index 274f39c..c8c793d 100755
--- a/proxinstall
+++ b/proxinstall
@@ -1578,8 +1578,8 @@ sub create_intro_view {
     cleanup_view();
 
     my $run_env = Proxmox::Install::RunEnv::get();
-    if (int($run_env->{total_memory}) < 1024) {
-       Proxmox::UI::error("Less than 1 GiB of usable memory detected, 
installation will probably fail.\n\n".
+    if (int($run_env->{total_memory}) < 2048) {
+       Proxmox::UI::error("Less than 2 GiB of usable memory detected, 
installation will probably fail.\n\n".
            "See 'System Requirements' in the $iso_env->{cfg}->{fullname} 
documentation.");
     }
 
diff --git a/proxmox-tui-installer/src/main.rs 
b/proxmox-tui-installer/src/main.rs
index 8721358..192a175 100644
--- a/proxmox-tui-installer/src/main.rs
+++ b/proxmox-tui-installer/src/main.rs
@@ -265,11 +265,11 @@ fn installer_setup_late(siv: &mut Cursive) {
         }
     }
 
-    if total_memory < 1024 {
+    if total_memory < 2048 {
         display_setup_warning(
             siv,
             concat!(
-                "Less than 1 GiB of usable memory detected, installation will 
probably fail.\n\n",
+                "Less than 2 GiB of usable memory detected, installation will 
probably fail.\n\n",
                 "See 'System Requirements' in the documentation."
             ),
         );
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to