bootbox/app/templates/main.ipxe.j2

22 lines
471 B
Plaintext
Raw Normal View History

2019-11-18 01:06:28 -05:00
{% extends 'formatting.ipxe.j2' %}
{% block menu%}
dhcp
echo MAIN MENU
cpuid --ext 29 && set bits 64 || set bits 32
cpuid --ext 29 && set arch x86_64 || set arch x86
:main
menu BootBox @ {{ request.url_root }}
{% for mt in ('install', 'utilities') %}
item --gap -- == {{ mt.upper() }} ==
{% for os in db.getMenu(mt) %}
item --key {{ os['shortcut'] }} {{ os['name'] }} ({{ os['shortcut'] }}) {{ os['desc'] }}
{%- endfor %}
{% endfor %}
shell
{% endblock %}