cdist/hacking/v3-busybox/qemu-test.sh

13 lines
160 B
Bash
Executable File

#!/bin/sh
if [ "$#" -ne 1 ]; then
echo "$0 iso"
exit 1
fi
iso=$1; shift
qemu-system-x86_64 -m 512 -boot order=cd \
-drive file=$iso,media=cdrom