1
0

live-regolith.ipxe.j2 561 B

1234567891011121314151617181920212223242526
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. set os Regolith
  5. menu ${os}
  6. item --gap ${os} Versions
  7. item current ${space} ${os} Current
  8. choose live_version || goto live_exit
  9. goto ${live_version}
  10. :current
  11. set squash_url ${live_endpoint}{{ endpoints["regolith-current"].path }}filesystem.squashfs
  12. set kernel_url ${live_endpoint}{{ endpoints["regolith-current"].path }}
  13. goto current-boot
  14. :current-boot
  15. imgfree
  16. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} {{ kernel_params }}
  17. initrd ${kernel_url}initrd
  18. boot
  19. :live_exit
  20. clear menu
  21. exit 0