1
0

nbxyz.ipxe.j2 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 internet endpoints
  7. clear nbxyz_version
  8. menu ${os}
  9. item --gap Endpoints
  10. item nbxyz-rolling ${space} ${os} Production Rolling (boot.netboot.xyz)
  11. item nbxyz-prod ${space} ${os} Production Release (boot.netboot.xyz)
  12. item nbxyz-staging ${space} ${os} Staging (staging.boot.netboot.xyz)
  13. item nbxyz-dev ${space} ${os} Development (dev.boot.netboot.xyz)
  14. item --gap Options:
  15. choose nbxyz_version || goto nbxyz_exit
  16. goto ${nbxyz_version}
  17. :nbxyz-rolling
  18. chain --autofree https://boot.netboot.xyz ||
  19. chain --autofree http://boot.netboot.xyz ||
  20. goto nbxyz
  21. :nbxyz-prod
  22. chain https://boot.netboot.xyz/version.ipxe ||
  23. chain --autofree https://boot.netboot.xyz/${upstream_version} ||
  24. goto nbxyz
  25. :nbxyz-staging
  26. chain https://staging.boot.netboot.xyz/version.ipxe ||
  27. chain --autofree https://staging.boot.netboot.xyz/${upstream_version} ||
  28. goto nbxyz
  29. :nbxyz-dev
  30. chain https://s3.amazonaws.com/dev.boot.netboot.xyz/version.ipxe ||
  31. chain --autofree https://s3.amazonaws.com/dev.boot.netboot.xyz/${upstream_version} ||
  32. goto nbxyz
  33. :nbxyz_exit
  34. exit 0