tlu/salt/states/pxe/harvester/files/harvester.cfg.jinja
2021-10-19 11:54:30 +02:00

12 lines
667 B
Django/Jinja

## Menu Colours
set menu_color_normal=white/black
set menu_color_highlight=white/green
{% for item in pillar['pxe']['harvester'] -%}
menuentry 'Harvester {{ item['version'] }}' --class os {
linux harvester-v{{ item['version'] }}-vmlinuz-amd64 nomodeset initrd=harvester-v{{ item['version'] }}-initrd-amd64 ip=dhcp net.ifnames=1 rd.cos.disable rd.noverifyssl console=tty1 root=live:http://{{ pillar['network']['ip'] }}/harvester/harvester-v{{ item['version'] }}-rootfs-amd64.squashfs iso_url=http://{{ pillar['network']['ip'] }}/harvester/harvester-v{{ item['version'] }}-amd64.iso
initrd harvester-v{{ item['version'] }}-initrd-amd64
boot
}
{% endfor %}