From 37201a9361117a9c47e9b555bf2054fd378c524e Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 5 Jul 2024 16:27:44 +0200 Subject: [PATCH] trisquel-automatic-netinstall-qemu: Reduce memory usage. Signed-off-by: Denis 'GNUtoo' Carikli --- trisquel-automatic-netinstall-qemu/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trisquel-automatic-netinstall-qemu/Makefile.am b/trisquel-automatic-netinstall-qemu/Makefile.am index 713b6de..9ff46f3 100644 --- a/trisquel-automatic-netinstall-qemu/Makefile.am +++ b/trisquel-automatic-netinstall-qemu/Makefile.am @@ -63,12 +63,14 @@ preseed.img: Makefile preseed.cfg rootfs.img.tmp: Makefile qemu-img create -f qcow2 $@ 10G +# The 790M were found by trial and error. At 789M the netinstall +# complains about "low memory". rootfs.img: preseed.img rootfs.img.tmp grub.iso install -m 644 rootfs.img.tmp rootfs.img || rm -f rootfs.img qemu-system-x86_64 \ -M q35 \ - -m 2048M \ + -m 790M \ -nographic \ -drive file=grub.iso,index=2,media=cdrom,if=ide \ -drive file=rootfs.img.tmp,index=1,media=disk,if=virtio \