diff --git a/modules/ztp-configuring-a-static-ip.adoc b/modules/ztp-configuring-a-static-ip.adoc index 70c9999a08..3e470dcfa1 100644 --- a/modules/ztp-configuring-a-static-ip.adoc +++ b/modules/ztp-configuring-a-static-ip.adoc @@ -79,12 +79,12 @@ spec: name: namespace: sshAuthorizedKey: - agentLabelSelector: - matchLabels: - cluster-name: + agentLabels: <1> + location: "" pullSecretRef: name: assisted-deployment-pull-secret nmStateConfigLabelSelector: matchLabels: sno-cluster-: # Match this label ---- +<1> Sets a label to match. The labels apply when the agents boot. \ No newline at end of file diff --git a/modules/ztp-creating-siteconfig-custom-resources.adoc b/modules/ztp-creating-siteconfig-custom-resources.adoc index ce9a49eb19..22a04ac2d9 100644 --- a/modules/ztp-creating-siteconfig-custom-resources.adoc +++ b/modules/ztp-creating-siteconfig-custom-resources.adoc @@ -245,13 +245,13 @@ spec: name: namespace: sshAuthorizedKey: <1> - agentLabelSelector: - matchLabels: - cluster-name: + agentLabels: <2> + location: "" pullSecretRef: name: assisted-deployment-pull-secret ---- <1> Entered as plain text. You can use the public key to SSH into the target bare-metal host when it boots from the ISO. +<2> Sets a label to match. The labels apply when the agents boot. . Create the `BareMetalHost` custom resource: +