Merge "Support extra PXE kernel arguments for Inspector"

This commit is contained in:
Jenkins 2017-05-01 07:06:28 +00:00 committed by Gerrit Code Review
commit ea8bc5fd88
4 changed files with 20 additions and 1 deletions

View File

@ -210,6 +210,10 @@ inspector_default_node_driver: The default driver to utilize when adding
setting for their install environment if
an alternative default driver is required.
inspector_extra_kernel_options: String value, default undefined. Extra
kernel parameters for the inspector default
PXE configuration.
### Virtual Environment Install
Bifrost can install ironic into a python virtual environment using the

View File

@ -141,6 +141,10 @@ inspector_port_addition: "pxe"
# Note: inspector_keep_ports has three valid values: all, present, added
inspector_keep_ports: "present"
# String value containing extra kernel parameters for the inspector default
# PXE configuration.
#inspector_extra_kernel_options:
# Inspector defaults
inspector:
discovery:

View File

@ -5,6 +5,6 @@ dhcp || reboot
goto introspect
:introspect
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:5050/v1/continue systemd.journald.forward_to_console=yes ip=${ip}:${next-server}:${gateway}:${netmask} BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:5050/v1/continue systemd.journald.forward_to_console=yes ip=${ip}:${next-server}:${gateway}:${netmask} BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0 {{ inspector_extra_kernel_options | default('') }}
initrd {{ ipa_ramdisk_url }}
boot

View File

@ -0,0 +1,11 @@
---
features:
- |
Allows additional kernel arguments to be specified in inspector PXE config.
A number of optional features in the Ironic Python Agent (IPA) are
configured via kernel command line arguments, e.g. ``ipa-collect-lldp``.
It is now possible to specify additional kernel arguments for use by the
IPA ramdisk during inspection with the ``inspector_extra_kernel_options``
variable.