#!ipxe
set net0/ip 133.125.35.66
set net0/netmask 255.255.254.0
set net0/gateway 133.125.34.1
set net0/dns 133.242.0.3
ifopen net0

:menu
menu boot menu
item tinycore Tiny Core Linux
item systemrescue SystemRescueCD
item --gap
item config iPXE config
item shell  iPXE shell
choose --timeout 20000 target && goto ${target} || goto menu

:tinycore
sanboot --no-describe http://113.155.41.229:8088/TinyCoreLinux.img || goto menu

:systemrescue
set ROOT http://113.155.41.229:8088/sysresccd
initrd ${ROOT}/boot/intel_ucode.img
initrd ${ROOT}/boot/x86_64/sysresccd.img
kernel ${ROOT}/boot/x86_64/vmlinuz archisobasedir=sysresccd archiso_http_srv=http://113.155.41.229:8088/ ip=133.125.35.66:113.115.41.229:133.125.34.1:255.255.254.0
boot

:config
config
goto menu

:shell
shell
goto menu
