Currently the latest RDO repo is installed on centos9 for the python-hardware package. This would not be appropriate in the following cases: * When repos are copied in from the host via DIB_YUM_REPO_CONF * When another element is responsible for setting up repos This change adds environment variable DIB_IPA_HARDWARE_RDO, which will only be set to `1` on centos9, when DIB_YUM_REPO_CONF isn't set, and when the user hasn't explicitly set DIB_IPA_HARDWARE_RDO. This retains the current default behaviour of just working, while giving flexibility for repos to be set up another way. Change-Id: I1cc0b9833baf642866e9762c6bae44360bffe20d
1.2 KiB
1.2 KiB
Ironic Python Agent (IPA) Extra Hardware
This element adds the hardware python package
to the Ironic Python Agent (IPA) ramdisk. It also installs several
package dependencies of the hardware module.
The hardware package provides improved hardware
introspection capabilities and supports benchmarking. This functionality
may be enabled by adding the extra-hardware collector in
the [DEFAULT] inspection_collectors option or the
ipa-inspection-collectors kernel command line argument.
The following environment variables may be set to configure the element when doing a source-based installation:
DIB_IPA_HARDWARE_PACKAGEthe fullhardwarePython package descriptor to use. If unset,DIB_IPA_HARDWARE_VERSIONwill be used.DIB_IPA_HARDWARE_VERSIONthe version of thehardwarepackage to install whenDIB_IPA_HARDWARE_PACKAGEis unset. If unset, the latest version will be installed.DIB_IPA_HARDWARE_RDOset to0to prevent the latest RDO package repositories being installed on CentOS-9-Stream (ignored whenDIB_YUM_REPO_CONFis set).