cdist-backup/hacking/qemu-test.sh
Nico Schottelius a1f003bd9c get iso to boot into kernel + initramfs
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-05-13 09:24:55 +02:00

12 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