live-tails.ipxe.j2 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #!ipxe
  2. goto ${menu} ||
  3. :live_menu
  4. set os Tails
  5. menu ${os} - Current Arch [ ${arch} ]
  6. item --gap Currently networking is not functional for this live image
  7. iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
  8. item --gap ${os} Versions
  9. item tails-4.0-default-squash ${space} ${os} 4.0
  10. choose live_version || goto live_exit
  11. goto ${live_version}
  12. {% for key, value in endpoints.items() | sort %}
  13. {% if value.os == "tails" and 'squash' in key %}
  14. {% set kernel_name = value.kernel %}
  15. :{{ key }}
  16. set squash_url ${live_endpoint}{{ value.path }}filesystem.squashfs
  17. {% for key, value in endpoints.items() | sort %}
  18. {% if key == kernel_name %}
  19. set kernel_url ${live_endpoint}{{ value.path }}
  20. {% endif %}
  21. {% endfor %}
  22. goto boot
  23. {% endif %}
  24. {% endfor %}
  25. :boot
  26. imgfree
  27. kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd nopersistence noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails slab_nomerge slub_debug=FZP mce=0 vsyscall=none page_poison=1 mds=full,nosmt union=aufs
  28. initrd ${kernel_url}initrd
  29. boot
  30. :live_exit
  31. clear menu
  32. exit 0