proxmox.ipxe.j2 922 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!ipxe
  2. # Proxmox VE
  3. # https://www.proxmox.com
  4. goto ${menu} ||
  5. :proxmox
  6. clear proxmox_version
  7. set os Proxmox VE
  8. menu ${os}
  9. item --gap ${os} Versions
  10. {% for key, value in endpoints.items() | sort %}
  11. {% if value.os == "proxmox" %}
  12. item normal ${space} ${os} {{ value.version }}
  13. item debug ${space} ${os} {{ value.version }} (Debug)
  14. {% endif %}
  15. {% endfor %}
  16. choose proxmox_version || goto proxmox_exit
  17. goto ${proxmox_version}
  18. :normal
  19. set params splash=silent
  20. goto boot
  21. :debug
  22. set params splash=verbose proxdebug
  23. goto boot
  24. :boot
  25. {% for key, value in endpoints.items() | sort %}
  26. {% if value.os == "proxmox" %}
  27. set kernel_url ${live_endpoint}{{ value.path }}
  28. {% endif %}
  29. {% endfor %}
  30. imgfree
  31. kernel ${kernel_url}vmlinuz vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet ${params} {{ kernel_params }}
  32. initrd ${kernel_url}initrd
  33. initrd ${kernel_url}proxmox.iso /proxmox.iso
  34. boot
  35. :proxmox_exit
  36. clear menu
  37. exit 0