labsync/qemu.sh
2018-02-11 18:22:58 +01:00

10 lines
202 B
Bash
Executable file

#!/bin/sh
[ -e pladde.img ] || qemu-img create pladde.img 4G
qemu-system-x86_64 \
-kernel vmlinuz \
-initrd initrd.gz \
-drive format=raw,if=scsi,file=pladde.img \
-append root=/dev/sda1 \
-m 1G