nbxyz.ipxe.j2 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!ipxe
  2. # netboot.xyz endpoints
  3. # used for accessing the latest internet build menus
  4. goto ${menu} ||
  5. :nbxyz
  6. set os netboot.xyz
  7. clear nbxyz_version
  8. menu ${os}
  9. item --gap Endpoints
  10. item nbxyz-rolling ${space} Production Rolling (boot.netboot.xyz)
  11. item nbxyz-prod ${space} Production Release (boot.netboot.xyz)
  12. item nbxyz-staging ${space} Staging (staging.boot.netboot.xyz)
  13. item nbxyz-dev ${space} Development (dev.boot.netboot.xyz)
  14. choose nbxyz_version || goto nbxyz_exit
  15. imgfree
  16. goto ${nbxyz_version}
  17. :nbxyz-rolling
  18. chain --autofree https://boot.netboot.xyz/menu.ipxe ||
  19. goto nbxyz
  20. :nbxyz-prod
  21. chain https://boot.netboot.xyz/version.ipxe ||
  22. chain --autofree https://boot.netboot.xyz/${upstream_version}/menu.ipxe ||
  23. goto nbxyz
  24. :nbxyz-staging
  25. chain https://staging.boot.netboot.xyz/version.ipxe ||
  26. chain --autofree https://staging.boot.netboot.xyz/${upstream_version}/menu.ipxe ||
  27. goto nbxyz
  28. :nbxyz-dev
  29. chain https://s3.amazonaws.com/dev.boot.netboot.xyz/version.ipxe ||
  30. chain --autofree https://s3.amazonaws.com/dev.boot.netboot.xyz/${upstream_version}/menu.ipxe ||
  31. goto nbxyz
  32. :nbxyz_exit
  33. exit 0