Uploaded image for project: 'Hybrid Cloud Infrastructure Documentation'
  1. Hybrid Cloud Infrastructure Documentation
  2. HCIDOCS-44

Document user-defined kernel parameters for discovery

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • True
    • 3
    • HCIDOCS 2024#2
    • 1

      Document how the user can define kernel arguments during installation.

      Task scope

      This task requires updates to Adding hosts - API.

      Optional step in procedure, before 5. Booting hosts:

      Optional: Configure kernel arguments for discovery:

      ----
      $ curl https://api.openshift.com/api/assisted-install/v2/infra-envs/${INFRA_ENV_ID} \
      -X PATCH \
      -H "Authorization: Bearer ${API_TOKEN}" \
      -H "Content-Type: application/json" \
      -d "$(jq --null-input \
        --slurpfile pull_secret ~/Downloads/pull-secret.txt '
          {
            "kernel_arguments": [{ "operation": "append", "value": "<kernel_argument>=<value>" }], <1>
            "image_type":"minimal-iso",
            "pull_secret": $pull_secret[0] | tojson
          }
      ')" | jq
      ----
      <1> Specify the kernel argument and value. Example: `rd.net.timeout.carrier=60`. 
      

      There does not appear to be any way to add kernel arguments in the UI. I recommend adding an xref "Configuring kernel arguments for discovery" to "Additional resources" section of Adding hosts - UI.

      SME: Ori Amizur
      QE: Elia Jahsan

            rhn-support-jowilkin John Wilkins
            apinnick@redhat.com Avital Pinnick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: