1
0

netboot.xyz-static 800 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!ipxe
  2. :start
  3. set version 1.03
  4. echo netboot.xyz iPXE loader v${version}
  5. goto static
  6. :static
  7. echo Please enter in the networking information of your Server:
  8. imgfree
  9. ifclose net0
  10. echo -n IP: && read net0/ip
  11. echo -n Subnet mask: && read net0/netmask
  12. echo -n Gateway: && read net0/gateway
  13. echo -n DNS: && read dns
  14. ifopen net0
  15. echo Attempting chainload of netboot.xyz...
  16. goto menu || goto failsafe
  17. :menu
  18. chain --autofree https://boot.netboot.xyz/menu.ipxe || echo HTTPS appears to have failed... attemping HTTP
  19. sleep 5
  20. chain --autofree http://boot.netboot.xyz/menu.ipxe || echo HTTP has failed, localbooting...
  21. goto boot
  22. :failsafe
  23. echo Attempt to load netboot.xyz failed... restarting...
  24. goto start
  25. :boot
  26. sanboot --no-describe --drive 0x80
  27. :debug
  28. echo Type "exit" to return to menu
  29. shell
  30. goto start