summaryrefslogtreecommitdiff
path: root/scripts/run_qemu.sh
blob: 0747c460a6adce77f3f1514756cefee3983b61ca (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

qemu-nbd -f raw root.img -x ROOT &
sleep 2 && \
qemu-system-i386 -cpu 486 -m 24M -machine isapc \
	-drive "file=floppy00.img,if=floppy,format=raw" \
	-netdev user,id=net0,net=10.0.0.0/24,host=10.0.0.2,dhcpstart=10.0.0.16,hostfwd=tcp::2222-:22,hostfwd=tcp::6001-:6000 \
	-vga std \
	-device ne2k_isa,iobase=0x300,irq=10,netdev=net0
pkill qemu-nbd