Skip to content

Commit

Permalink
Simplfy Kali Live menu
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Sep 14, 2021
1 parent a6e6833 commit 934235e
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions roles/netbootxyz/templates/menu/live-kali.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,13 @@ goto ${menu} ||
set os Kali Linux
menu ${os}
item --gap ${os} Versions
item rolling ${space} ${os} Rolling
choose live_version || goto live_exit
menu ${os} ${live_version}
item --gap ${os} Flavors
goto ${live_version}

:rolling
{% for key, value in endpoints.items() | sort %}
{% if value.os == "kali" and 'squash' in key and value.version == "rolling" and value.flavor == "xfce" %}
item {{ key }} ${space} {{ value.os | title }} {{ value.version | title }} {{ value.flavor | upper }}
{% if value.os == "kali" %}
item {{ key }} ${space} ${os} {{ value.version }}
{% endif %}
{% endfor %}
goto flavor_select

:flavor_select
choose flavor || goto live_menu
echo ${cls}
goto ${flavor} ||
choose live_version || goto live_exit
goto ${live_version}

{% for key, value in endpoints.items() | sort %}
{% if value.os == "kali" and 'squash' in key %}
Expand Down

0 comments on commit 934235e

Please sign in to comment.