puppet-ironic/templates/inspector_ipxe.erb
Takashi Kajinami f47e1614c7 Do not override ipa-inspection-collectors by default
The ipa-inspection-collectors option is optional so can be omitted.

Note that this change effectively enables the log collector which is
enabled by default in IPA since 6.4.0[1].

[1] d50ff06b6bbf8909496882c7200c11299dc6b039

Change-Id: I779d35d8244759023fe2dc1e889f5f4674b78561
2023-11-02 13:28:49 +09:00

8 lines
735 B
Plaintext

#!ipxe
:retry_boot
imgfree
kernel <% if @ipxe_timeout_real != "0" %>--timeout <%= Integer(@ipxe_timeout_real) * 1000 %> <% end %>http://<%= @dnsmasq_local_ip_real %>:<%= @http_port_real %>/<%= @kernel_filename %> ipa-inspection-callback-url=http://<%= @dnsmasq_local_ip_real %>:5050/v1/continue <%if !@ramdisk_collectors.nil? %>ipa-inspection-collectors=<%= @ramdisk_collectors %> <% end %>systemd.journald.forward_to_console=yes BOOTIF=${mac} <%= @ramdisk_kernel_args %> initrd=<%= @ramdisk_filename %> || goto retry_boot
initrd <% if @ipxe_timeout_real != "0" %>--timeout <%= Integer(@ipxe_timeout_real) * 1000 %> <% end %>http://<%= @dnsmasq_local_ip_real %>:<%= @http_port_real %>/<%= @ramdisk_filename %> || goto retry_boot
boot