diff --git a/defaults/main.yml b/defaults/main.yml index f439cd3c..34d6aeed 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -406,6 +406,13 @@ ironic_deploy_image_list: ironic_inspector_enable_discovery: True ironic_inspector_openstack_db_connection_string: "mysql+pymysql://{{ ironic_inspector_galera_user }}:{{ ironic_inspector_container_mysql_password }}@{{ ironic_inspector_galera_address }}:{{ ironic_inspector_galera_port }}/{{ ironic_inspector_galera_database }}?charset=utf8{% if ironic_inspector_galera_use_ssl | bool %}&ssl_verify_cert=true{% if ironic_inspector_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ ironic_inspector_galera_ssl_ca_cert }}{% endif %}{% endif %}" +#define this to adjust the inspector processing hooks +#Example: +#ironic_inspector_processing_hooks: "$default_processing_hooks,lldp_basic,local_link_connection" + +#pass additional kernel paramters to the deploy image +ironic_inspector_extra_callback_parameters: '' + # Ironic inspector dhcp ironic_inspector_dhcp_address: "{{ ironic_bmaas_address }}" ironic_inspector_dhcp_pool_range: 192.168.0.51 192.168.0.150 diff --git a/templates/inspector.ipxe.j2 b/templates/inspector.ipxe.j2 index e37580d0..1f0f9758 100644 --- a/templates/inspector.ipxe.j2 +++ b/templates/inspector.ipxe.j2 @@ -5,6 +5,6 @@ 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 }} systemd.journald.forward_to_console=yes BOOTIF=${mac} initrd={{ ironic_deploy_image_initramfs_name }} || goto retry_boot +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