liveubuntu-default.ipxe.j2 723 B

123456789101112131415161718192021222324252627
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. menu Live Ubuntu Default (Unity) - Current Arch [ ${arch} ]
  5. iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
  6. item --gap Live Ubuntu Default (Unity)
  7. item bionic-18.04-default ${space} Bionic Beaver 18.04
  8. choose menu || goto live_exit
  9. echo ${cls}
  10. goto ${menu} ||
  11. iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu
  12. :bionic-18.04-default
  13. kernel ${live_endpoint}${ubuntu-18.04-live-kernel}vmlinuz boot=casper netboot=http fetch=${live_endpoint}${ubuntu-18.04-default-squash}filesystem.squashfs initrd=initrd
  14. initrd ${live_endpoint}${ubuntu-18.04-live-kernel}initrd
  15. boot
  16. :change_menu
  17. chain ${menu}.ipxe || goto error
  18. goto live_menu
  19. :live_exit
  20. clear menu
  21. exit 0