diff options
| author | Shulhan <ms@kilabit.info> | 2022-06-30 01:43:38 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-07-30 01:45:01 +0700 |
| commit | 015e2edf17ef7bdb7fd05a9f848c4747a62e7a6f (patch) | |
| tree | c9fdd06d1e39fe0c48789f985a34ed43d06a21ee /qemu.sh | |
| parent | 6be2b52c31ad996e260eef68044ff1bced922d9c (diff) | |
| download | compute-archlinux-image-builder-015e2edf17ef7bdb7fd05a9f848c4747a62e7a6f.tar.xz | |
all: add shell script to test the image using qemu
Testing using qemu require adding "block" hooks to mkinitcpio.conf.
Diffstat (limited to 'qemu.sh')
| -rwxr-xr-x | qemu.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/bin/sh + +image=$1 +echo $image +qemu-system-x86_64 -enable-kvm \ + -drive format=raw,file=$image,if=virtio \ + -net none \ + -m 512M \ + -bios /usr/share/ovmf/x64/OVMF.fd \ + -boot menu=on |
