Skip to content

Latest commit

 

History

History
75 lines (67 loc) · 2.15 KB

installation-extracting-infraid.adoc

File metadata and controls

75 lines (67 loc) · 2.15 KB

Extracting the infrastructure name

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)
    1. For <installation_directory>, specify the path to the directory that you stored the installation files in.

    2. The output of this command is your cluster name and a random string.