summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-03-25 20:19:07 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-03-25 20:19:07 +0100
commit873c46e78a5aa09a7d7fc951eff905de32077548 (patch)
tree1d5242ab5c9d21496002ba532efdbcde69f8f76c /test
parent7f43546f853e4ff6e14678a4c6d69cd9fc06c56c (diff)
get working properly again, without firstboot issueHEADmaster
Diffstat (limited to 'test')
-rwxr-xr-xtest13
1 files changed, 13 insertions, 0 deletions
diff --git a/test b/test
new file mode 100755
index 0000000..db6f249
--- /dev/null
+++ b/test
@@ -0,0 +1,13 @@
+#!/bin/bash
+set -x
+
+if [[ -n $1 ]]; then
+ qemu-img create -f qcow2 images/img 10G
+ qemu-system-x86_64 -m 1G \
+ -boot d -enable-kvm -smp 4 \
+ -hda images/img -cdrom $1 \
+ -bios /usr/share/edk2-ovmf/x64/OVMF_CODE.fd
+ exit
+fi
+
+qemu-system-x86_64 -hda images/img -m 1G -smp 4 -bios /usr/share/edk2-ovmf/x64/OVMF_CODE.fd -boot c