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

12 lines
805 B
Django/Jinja

## Menu Colours
set menu_color_normal=white/black
set menu_color_highlight=white/green
{% for node in ['node1', 'node2', 'node3'] -%}
menuentry 'TLU Harvester {{ pillar['tlu-harvester']['version'] }} {{ node }}' --class os {
linux harvester-v{{ pillar['tlu-harvester']['version'] }}-vmlinuz-amd64 nomodeset initrd=harvester-v{{ pillar['tlu-harvester']['version'] }}-initrd-amd64 ip=dhcp net.ifnames=1 rd.cos.disable rd.noverifyssl console=tty1 root=live:http://{{ pillar['network']['ip'] }}/harvester/harvester-v{{ pillar['tlu-harvester']['version'] }}-rootfs-amd64.squashfs harvester.install.automatic=true harvester.install.config_url=http://{{ pillar['network']['ip'] }}/harvester/{{ node }}.yaml
initrd harvester-v{{ pillar['tlu-harvester']['version'] }}-initrd-amd64
boot
}
{% endfor %}