qemu-debian-arm (327B)
1 #!/bin/sh 2 3 qemu-img create -f qcow2 hda.qcow2 5G 4 5 qemu-system-arm \ 6 -M virt -m 1024 \ 7 -kernel installer-vmlinuz \ 8 -initrd installer-initrd.gz \ 9 -drive if=none,file=hda.qcow2,format=qcow2,id=hd \ 10 -device virtio-blk-device,drive=hd \ 11 -netdev user,id=mynet \ 12 -device virtio-net-device,netdev=mynet \ 13 -nographic -no-reboot