From: Noel Ullreich <n.ullreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-installer 1/1] raise the minimum ram requirements to 2 GiB
Date: Mon, 10 Jul 2023 15:49:48 +0200 [thread overview]
Message-ID: <20230710134951.79263-2-n.ullreich@proxmox.com> (raw)
In-Reply-To: <20230710134951.79263-1-n.ullreich@proxmox.com>
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.ullreich@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
next prev parent reply other threads:[~2023-07-10 13:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 13:49 [pve-devel] [PATCH pve-installer; pve-docs; pmg-docs; proxmox-backup/docs 0/4] Update min RAM and min disk size for pve Noel Ullreich
2023-07-10 13:49 ` Noel Ullreich [this message]
2023-07-10 13:49 ` [pve-devel] [PATCH pmg_docs 1/1] Consistency of GB and GiB pmg Noel Ullreich
2024-01-22 17:58 ` [pve-devel] applied: " Stoiko Ivanov
2024-02-06 12:20 ` Thomas Lamprecht
2024-02-13 10:37 ` Stoiko Ivanov
2023-07-10 13:49 ` [pve-devel] [PATCH pve_docs 1/1] raise min ram requirements to 2 GiB and specify min disk space Noel Ullreich
2023-07-10 13:49 ` [pve-devel] [PATCH proxmox-backup/docs 1/1] Consistency of GB and GiB pbs Noel Ullreich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230710134951.79263-2-n.ullreich@proxmox.com \
--to=n.ullreich@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.