1
0

netboot.xyz-static 762 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!ipxe
  2. :start
  3. set version 1
  4. echo netboot.xyz iPXE loader v${version}
  5. prompt --key d --timeout 4000 Hit the ${bold}d${boldoff} key to open the debug console && goto debug || goto static
  6. goto static
  7. :static
  8. echo Please enter in the networking information of your Cloud Server:
  9. imgfree
  10. ifclose net0
  11. echo -n IP: && read net0/ip
  12. echo -n Subnet mask: && read net0/netmask
  13. echo -n Gateway: && read net0/gateway
  14. echo -n DNS: && read dns
  15. ifopen net0
  16. echo Attempting chainload of netboot.xyz...
  17. goto menu || goto failsafe
  18. :menu
  19. chain --autofree http://cdn.netboot.xyz/menu.ipxe
  20. goto boot
  21. :failsafe
  22. echo Attempt to load netboot.xyz failed... restarting...
  23. goto start
  24. :boot
  25. sanboot --no-describe --drive 0x80
  26. :debug
  27. echo Type "exit" to return to menu
  28. shell
  29. goto start