The Ignition configs contain a unique cluster identifier that you can use to uniquely identify your cluster in {cp-first} ({cp}). The provided {cp-template} templates contain references to this infrastructure name, so you must extract it.
Prerequisites
-
Obtain the {product-title} installation program and the pull secret for your cluster.
-
Generate the Ignition config files for your cluster.
-
Install the
jq
package.
Procedure
-
To extract and view the infrastructure name from the Ignition config file metadata, run the following command:
$ jq -r .infraID /<installation_directory>/metadata.json (1) openshift-vw9j6 (2)
-
For
<installation_directory>
, specify the path to the directory that you stored the installation files in. -
The output of this command is your cluster name and a random string.
-