cdist-backup/hacking/qemu-test.sh
Nico Schottelius 75e3f3c90f write script to generate outdir from filelist
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-05-13 08:13:54 +02:00

13 lines
155 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=$iso,media=cdrom