806d5a1569
At this point we already have DHCP on the right NIC to be able to download this iPXE script. The "dhcp" may actually break the boot, as it runs DHCP on the first available interface, not the PXE booting one. Change-Id: I9ec62b6b662c9ea70f7cc12bd0567b5e4119faf7 Closes-Bug: #1635191
8 lines
645 B
Plaintext
8 lines
645 B
Plaintext
#!ipxe
|
|
|
|
:retry_boot
|
|
imgfree
|
|
kernel <% if @ipxe_timeout_real != "0" %>--timeout <%= Integer(@ipxe_timeout_real) * 1000 %> <% end %>http://<%= @dnsmasq_local_ip %>:<%= @http_port_real %>/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_real != "0" %>--timeout <%= Integer(@ipxe_timeout_real) * 1000 %> <% end %>http://<%= @dnsmasq_local_ip %>:<%= @http_port_real %>/agent.ramdisk || goto retry_boot
|
|
boot
|