bifrost/playbooks/roles/bifrost-ironic-install/templates/inspector-default-boot-ipxe.j2
Mark Goddard e3ff784da1 Support extra PXE kernel arguments for Inspector
As an operator I want to be able to specify additional kernel arguments
for nodes being inspected by ironic inspector so that I can pass
arguments to Ironic Python Agent (IPA).

A number of optional features in IPA are configured via kernel command
line arguments, e.g. ipa-collect-lldp.

This change allows additional kernel arguments to be provided for use
by the IPA ramdisk during inspection.

Change-Id: I547596a8108765383f291da690196f3222b59d79
Closes-Bug: #1685876
2017-04-25 10:02:11 +01:00

11 lines
449 B
Django/Jinja

#!ipxe
dhcp || reboot
goto introspect
:introspect
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:5050/v1/continue systemd.journald.forward_to_console=yes ip=${ip}:${next-server}:${gateway}:${netmask} BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0 {{ inspector_extra_kernel_options | default('') }}
initrd {{ ipa_ramdisk_url }}
boot