270b0cb7c7
We currently allow changing the HTTP port for Ironic iPXE support, but we don't allow the same for ironic-inspector. This patch fixes it. Change-Id: I62effb9d0196474a3768ef7e80528f730df8a543 Closes-Bug: #1602976
11 lines
652 B
Plaintext
11 lines
652 B
Plaintext
#!ipxe
|
|
|
|
:retry_dhcp
|
|
dhcp || goto retry_dhcp
|
|
|
|
:retry_boot
|
|
imgfree
|
|
kernel <% if @ipxe_timeout != "0" %>--timeout <%= Integer(@ipxe_timeout) * 1000 %> <% end %>http://<%= @dnsmasq_local_ip %>:<%= @http_port %>/agent.kernel ipa-inspection-callback-url=http://<%= @dnsmasq_local_ip %>:5050/v1/continue ipa-inspection-collectors=<%= @ramdisk_collectors %> systemd.journald.forward_to_console=yes BOOTIF=${mac} <%= @ramdisk_kernel_args %> initrd=agent.ramdisk || goto retry_boot
|
|
initrd <% if @ipxe_timeout != "0" %>--timeout <%= Integer(@ipxe_timeout) * 1000 %> <% end %>http://<%= @dnsmasq_local_ip %>:<%= @http_port %>/agent.ramdisk || goto retry_boot
|
|
boot
|