nbxyz.ipxe.j2 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. goto ${nbxyz_version}
  16. :nbxyz-rolling
  17. chain --autofree https://boot.netboot.xyz/menu.ipxe ||
  18. goto nbxyz
  19. :nbxyz-prod
  20. chain https://boot.netboot.xyz/version.ipxe ||
  21. chain --autofree https://boot.netboot.xyz/${upstream_version}/menu.ipxe ||
  22. goto nbxyz
  23. :nbxyz-staging
  24. chain https://staging.boot.netboot.xyz/version.ipxe ||
  25. chain --autofree https://staging.boot.netboot.xyz/${upstream_version}/menu.ipxe ||
  26. goto nbxyz
  27. :nbxyz-dev
  28. chain https://s3.amazonaws.com/dev.boot.netboot.xyz/version.ipxe ||
  29. chain --autofree https://s3.amazonaws.com/dev.boot.netboot.xyz/${upstream_version}/menu.ipxe ||
  30. goto nbxyz
  31. :nbxyz_exit
  32. exit 0