live-lite.ipxe.j2 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. set os Linux Lite
  5. menu ${os}
  6. item --gap Use the username linuxlite with a blank password
  7. item --gap ${os} Versions
  8. item 5 ${space} ${os} 5
  9. item 4 ${space} ${os} 4
  10. choose live_version || goto live_exit
  11. goto ${live_version}
  12. :4
  13. set squash_url ${live_endpoint}{{ endpoints["linux-lite-4-squash"].path }}filesystem.squashfs
  14. set kernel_url ${live_endpoint}{{ endpoints["linux-lite-4-squash"].path }}
  15. goto boot-4
  16. :5
  17. set squash_url ${live_endpoint}{{ endpoints["linux-lite-5-squash"].path }}filesystem.squashfs
  18. set kernel_url ${live_endpoint}{{ endpoints["linux-lite-5-squash"].path }}
  19. goto boot-5
  20. :boot-4
  21. imgfree
  22. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} username=linuxlite userfullname=linuxlite {{ kernel_params }}
  23. initrd ${kernel_url}initrd
  24. boot
  25. :boot-5
  26. kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} username=linuxlite userfullname=linuxlite {{ kernel_params }}
  27. initrd ${kernel_url}initrd
  28. boot
  29. :live_exit
  30. clear menu
  31. exit 0