minor clean-up
authorRalph Ronnquist <rrq@rrq.au>
Tue, 17 Sep 2024 05:18:44 +0000 (15:18 +1000)
committerRalph Ronnquist <rrq@rrq.au>
Tue, 17 Sep 2024 05:18:44 +0000 (15:18 +1000)
vm.sh

diff --git a/vm.sh b/vm.sh
index 0ac4938d30ba9c729c61bd6b0bbb2a36a5c489d2..7c50a54a5b44b8ec6e897ad8c092d49906eb3d2c 100755 (executable)
--- a/vm.sh
+++ b/vm.sh
@@ -7,12 +7,10 @@ ARGS=(
     # boot setup
     -kernel vmlinuz
     -initrd initrd.gz
-    -append "expert console=ttyAMA0 root=/dev/vda1 roottype=ext4"
+    -append "console=ttyAMA0 root=/dev/vda1 roottype=ext4"
     -serial mon:stdio -echr 0x1c
     # graphics setup
     -nographic
-    #-device virtio-gpu-pci
-    #-vnc :0
     # harddrive setup
     -device virtio-blk-pci,drive=hd
     -drive if=none,id=hd,file=$IMG,format=raw
@@ -21,4 +19,4 @@ ARGS=(
     -netdev vde,sock=/run/vde.ctl,id=unet
 )
 
-qemu-system-aarch64 "${ARGS[@]}"
+exec qemu-system-aarch64 "${ARGS[@]}"