Uploaded image for project: 'Agent-based deployment for OpenShift Installer'
  1. Agent-based deployment for OpenShift Installer
  2. AGENT-713

Use install-config baremetal host config if not defined in agent-config

XMLWordPrintable

    • 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.

            bfournie@redhat.com Robert Fournier
            bfournie@redhat.com Robert Fournier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: