rdos/run-pxe.sh

6 lines
241 B
Bash
Raw Normal View History

#!/bin/sh
exec qemu-system-x86_64 -boot n \
-option-rom /usr/share/qemu/pxe-rtl8139.rom \
-device e1000,netdev=mynet0,mac=52:54:00:12:34:56 \
-netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9,tftp=$PWD,bootfile=kernel.com