From 9121f78b658384a34fcd9f3698295188c83e6fc2 Mon Sep 17 00:00:00 2001
From: Florent Gluck <florent.gluck@hesge.ch>
Date: Fri, 14 Feb 2025 17:58:21 +0100
Subject: [PATCH] Updated Makefile so that the VM for the uefi target uses 4GB
 instead of 16GB

---
 live_exam_os/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/live_exam_os/Makefile b/live_exam_os/Makefile
index d6ca1ac..8385ad9 100644
--- a/live_exam_os/Makefile
+++ b/live_exam_os/Makefile
@@ -15,6 +15,6 @@ bios_cd:
 	qemu-system-x86_64 -drive file=$(ISO),media=cdrom,if=ide,readonly=on -boot d -m 4G -smp 4
 
 uefi:
-	qemu-system-x86_64 -bios /usr/share/OVMF/x64/OVMF.fd -drive file=$(ISO),format=raw -boot d -m 16G -smp 4 -netdev user,id=n1 -device virtio-net-pci,netdev=n1
+	qemu-system-x86_64 -bios /usr/share/OVMF/x64/OVMF.fd -drive file=$(ISO),format=raw -boot d -m 4G -smp 4 -netdev user,id=n1 -device virtio-net-pci,netdev=n1
 
 .PHONY: build
-- 
GitLab