live-voyager.ipxe.j2 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. set os Voyager Live
  5. menu ${os} - Current Arch [ ${arch} ]
  6. iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
  7. item --gap ${os} Versions
  8. item bionic ${space} ${os} Bionic
  9. item buster ${space} ${os} Buster
  10. item eoan ${space} ${os} Eoan
  11. choose live_version || goto live_exit
  12. :bionic
  13. set squash_url ${live_endpoint}{{ endpoints["voyager-bionic-squash"].path }}filesystem.squashfs
  14. set kernel_url ${live_endpoint}{{ endpoints["ubuntu-18.04-live-kernel"].path }}
  15. imgfree
  16. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd
  17. initrd ${kernel_url}initrd
  18. boot
  19. :buster
  20. set squash_url ${live_endpoint}{{ endpoints["voyager-buster-squash"].path }}filesystem.squashfs
  21. set kernel_url ${live_endpoint}{{ endpoints["debian-10-live-kernel"].path }}
  22. imgfree
  23. kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd
  24. initrd ${kernel_url}initrd
  25. boot
  26. :eoan
  27. set squash_url ${live_endpoint}{{ endpoints["voyager-eoan-squash"].path }}filesystem.squashfs
  28. set kernel_url ${live_endpoint}{{ endpoints["ubuntu-19.10-live-kernel"].path }}
  29. imgfree
  30. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} initrd=initrd
  31. initrd ${kernel_url}initrd
  32. boot
  33. :live_exit
  34. clear menu
  35. exit 0