5d29fb4e17
1) The variable to allow processing hooks to be configured is used in the ironic-inspector template but not documented in the role defaults. Add the default and an example of usage. 2) When using LLDP to discover switchport connections during inspection it is necessary to pass an additional kernel parameter to the deploy image but there is no variable to allow this to happen. This patch adds a variable that the deployer can use to pass arbitrary kernel parameters to the deploy image. Change-Id: I2f67dfcf4164e009bf53e9324bd430aec4c97dcb
11 lines
492 B
Django/Jinja
11 lines
492 B
Django/Jinja
#!ipxe
|
|
|
|
:retry_dhcp
|
|
dhcp || goto retry_dhcp
|
|
|
|
:retry_boot
|
|
imgfree
|
|
kernel --timeout 30000 {{ ironic_http_url }}/{{ ironic_deploy_image_kernel_name }} ipa-inspection-callback-url={{ ironic_inspector_callback_url }} {{ ironic_inspector_extra_callback_parameters }} systemd.journald.forward_to_console=yes BOOTIF=${mac} initrd={{ ironic_deploy_image_initramfs_name }} || goto retry_boot
|
|
initrd --timeout 30000 {{ ironic_http_url }}/{{ ironic_deploy_image_initramfs_name }} || goto retry_boot
|
|
boot
|