Skip to content

coreos/ignition-extra-files

Extra ignition file objects appended to the installer ignition storage.files list.

A list of ignition v3.4.0 file objects appended to the storage.files array of the installer-phase ignition configuration rendered by basic-ign.tmpl.

This parameter is the installer-phase parallel of coreos/in-os-ignition-extra-files (which appends to the in-OS ignition rendered by basic-in-os-ign.tmpl). Files added here are present during the first half of the CoreOS install — before pivot to the final OS — which is the phase where early network configuration (for example, NetworkManager keyfiles derived from nmstate) must be in place so the installer can reach the DRP endpoint.

Each item must be a JSON object matching the ignition file spec, for example:

::

Text Only
{
  "path": "/etc/NetworkManager/system-connections/bond0.nmconnection",
  "mode": 384,
  "overwrite": true,
  "contents": {
    "source": "data:text/plain;charset=utf-8;base64,W2Nvbm5lY3Rpb25d..."
  }
}

The three ignition entries rendered by the template (/etc/hostname, /opt/bin/drpcli, /etc/drpcli) are always present; items from this parameter are appended to that list.

This parameter is typically set by automation (for example, the OpenShift cluster pool-allocation task derives per-host NetworkManager keyfiles from nmstate and stores them here and in coreos/in-os-ignition-extra-files).

Objects that Reference coreos/ignition-extra-files

Objects used by coreos/ignition-extra-files

Not used in current content packs