netboot.xyz-static 565 B

12345678910111213141516171819202122232425262728
  1. #!ipxe
  2. :start
  3. set version 1
  4. echo netboot.xyz iPXE loader v${version}
  5. :static
  6. echo Please enter in the networking information of your Cloud Server:
  7. imgfree
  8. ifclose net0
  9. echo -n IP: && read net0/ip
  10. echo -n Subnet mask: && read net0/netmask
  11. echo -n Gateway: && read net0/gateway
  12. echo -n DNS: && read dns
  13. ifopen net0
  14. echo Attempting chainload of netboot.xyz...
  15. goto start || goto failsafe
  16. :start
  17. chain http://cdn.netboot.xyz/boot.ipxe
  18. goto boot
  19. :failsafe
  20. echo Attempt to load netboot.xyz failed... restarting...
  21. goto start
  22. :boot
  23. sanboot --no-describe --drive 0x80