Compare commits

..

2 Commits

Author SHA1 Message Date
Denis 'GNUtoo' Carikli 37201a9361
trisquel-automatic-netinstall-qemu: Reduce memory usage.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-07-05 16:27:44 +02:00
Denis 'GNUtoo' Carikli 8e804b6b21
trisquel-automatic-netinstall-qemu: align preseed response values.
Some 'string' were aligned with the di-question. In addition I also
separated the response type and values in a different column to make
it easier to detect this kind of mistakes.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-07-04 15:48:35 +02:00
2 changed files with 33 additions and 31 deletions

View File

@ -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 \