-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
-
OCPSTRAT-702 - Agent baremetal platform - use per-host config values from install-config
-
-
-
Sprint 242, Sprint 243, Sprint 244, Sprint 246
If the install-config.yaml contains baremetal host configuration fields, and no host fields are defined in agent-config.yaml, use the install-config settings to define the hosts. The following fields will be copied over from the bm host definition
https://github.com/openshift/installer/blob/master/pkg/types/baremetal/platform.go#L37
- name -> hostname
- role -> role
- rootDeviceHints -> rootDeviceHints
- networkConfig -> networkConfig
The install-config struct does not have an interfaces field that matches agent-config, instead the bootMacAddress in install-config host will be used to create the interfaces array.
The hardwareProfile and bootMode fields will not be copied.