From 4804b1357bcdfd3bf4b8904f8d294dd2556502ba Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 28 Jul 2025 18:14:02 -0500 Subject: [PATCH] newvm: Adjust min memory for Fedora 41+ The Anaconda runtime is _way_ bigger in Fedora 41, presumably because of the new web UI. Even though we use text-only automated installs, we still need enough space for the whole thing to fit in RAM. --- newvm.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/newvm.sh b/newvm.sh index 680a233..c54559d 100755 --- a/newvm.sh +++ b/newvm.sh @@ -138,6 +138,11 @@ if [ -z "${LIBVIRT_DEFAULT_URI}" ]; then exit 1 fi +if [ ${fedora} -gt 40 ] && [ ${memory} -lt 4096 ]; then + printf 'WARNING Fedora 41+ requires at least 4 GB memory to install\n' >&2 + memory=4096 +fi + if ${default_groups}; then groups_xml="${groups_xml}" groups_xml="${groups_xml}"