Skip to content

Commit 525a24d

Browse files
authored
Merge pull request #46022 from amolnar-rh/BZ2089824
BZ2089824: Deleting a baremetalhost order
2 parents 530b6af + 74dbc69 commit 525a24d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

modules/ipi-install-replacing-a-bare-metal-control-plane-node.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ Existing control plane `BareMetalHost` objects may have the `externallyProvision
1717

1818
.Procedure
1919

20-
. Remove the old `baremetalhost`, `machine` and `node` objects:
20+
. Remove the old `BareMetalHost` and `Machine` objects:
2121
+
2222
[source,terminal]
2323
----
24-
$ oc delete node kni1-vmaster-0
2524
$ oc delete bmh -n openshift-machine-api vmaster-0
2625
$ oc delete machine -n openshift-machine-api kni1-master-0
2726
----
2827
+
29-
. Create the new `baremetalhost` object and the secret to store the BMC credentials:
28+
After you remove the `BareMetalHost` and `Machine` objects, then the Bare Metal Operator automatically deletes the `Node` object.
29+
30+
. Create the new `BareMetalHost` object and the secret to store the BMC credentials:
3031
+
3132
[source,terminal]
3233
----
@@ -59,9 +60,9 @@ spec:
5960
EOF
6061
----
6162
+
62-
After the inspection is complete, the `baremetalhost` object is created and available to be provisioned.
63+
After the inspection is complete, the `BareMetalHost` object is created and available to be provisioned.
6364

64-
. View available `baremetalhost` objects:
65+
. View available `BareMetalHost` objects:
6566
+
6667
[source,terminal]
6768
----

0 commit comments

Comments
 (0)