khuedoan-homelab/metal/roles/pxe-server/templates/grub.cfg.j2

9 lines
233 B
Django/Jinja

set timeout=1
menuentry '{{ iso_url | basename | splitext | first }} (PXE)' {
linux vmlinuz \
ip=dhcp \
inst.ks=http://{{ ansible_default_ipv4.address }}/init-config/${net_default_mac}.ks
initrd initrd.img
}