diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-07-22 16:12:41 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-07-22 16:12:41 +0200 |
commit | 8490324677b5b6ab0580cabe4376d15cf2a4cc46 (patch) | |
tree | b7339938197a9771e38cc0a695d96f4ba22e3e1f /roles/installer/debian/usb/templates/syslinux.cfg.j2 | |
parent | Merge branch 'topic/network-overlays-exteneded' (diff) | |
parent | add debian installer iso variant (diff) |
Merge branch 'topic/installer-again-and-again'
Diffstat (limited to 'roles/installer/debian/usb/templates/syslinux.cfg.j2')
-rw-r--r-- | roles/installer/debian/usb/templates/syslinux.cfg.j2 | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/roles/installer/debian/usb/templates/syslinux.cfg.j2 b/roles/installer/debian/usb/templates/syslinux.cfg.j2 index c91f7287..ea4b866c 100644 --- a/roles/installer/debian/usb/templates/syslinux.cfg.j2 +++ b/roles/installer/debian/usb/templates/syslinux.cfg.j2 @@ -1,21 +1,24 @@ -SAY ***************************************** -SAY ** {% if (ansible_play_hosts_all | length) == 1 %} DEFAULT {{ install_hostname }} -SAY ** will be booting automated installer for {{ install_hostname }} in 10s ... TIMEOUT 100 -{% else %} -SAY ** Please select host to install: +PROMPT 1 +SAY ***************************************** SAY ** -{% for host in ansible_play_hosts_all %} -SAY ** -> {{ host }} -{% endfor %} -{% endif %} +SAY ** Distro: {{ install_distro }} +SAY ** Codename: {{ install_codename }} SAY ** -PROMPT 1 +SAY ** will be booting automated installer for {{ install_hostname }} in 10s ... +SAY ** +{% else %} +DEFAULT menu.c32 +TIMEOUT 0 +PROMPT 0 +MENU TITLE {{ install_distro }} / {{ install_codename }} +{% endif %} {% for host in ansible_play_hosts_all %} LABEL {{ host }} + MENU LABEL automatic installer for {{ host }} KERNEL {{ syslinux_base_path }}linux INITRD {{ syslinux_base_path }}initrd.{{ host }}.gz APPEND install {{ (hostvars[host].install_cooked.kernel_cmdline | default([])) | join(' ') }} |