Skip to content

Commit 04298bd

Browse files
authored
Merge pull request #53444 from kevydotvinu/ocpbugs-4456
OCPBUGS#4456: Correct nmstate data for bmh.yaml
2 parents 74ed79e + f07ce92 commit 04298bd

File tree

1 file changed

+19
-32
lines changed

1 file changed

+19
-32
lines changed

modules/ipi-install-preparing-the-bare-metal-node.adoc

Lines changed: 19 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -62,38 +62,25 @@ metadata:
6262
name: openshift-worker-<num>-network-config-secret <2>
6363
type: Opaque
6464
stringData:
65-
nmstate: |
66-
hosts:
67-
- name: openshift-master-0
68-
role: master
69-
bmc:
70-
address: redfish+http://<out_of_band_ip>/redfish/v1/Systems/
71-
username: <user>
72-
password: <password>
73-
disableCertificateVerification: null
74-
bootMACAddress: <NIC1_mac_address>
75-
bootMode: UEFI
76-
rootDeviceHints:
77-
deviceName: "/dev/sda"
78-
networkConfig: <3>
79-
interfaces: <4>
80-
- name: <nic1_name> <5>
81-
type: ethernet
82-
state: up
83-
ipv4:
84-
address:
85-
- ip: <ip_address> <5>
86-
prefix-length: 24
87-
enabled: true
88-
dns-resolver:
89-
config:
90-
server:
91-
- <dns_ip_address> <5>
92-
routes:
93-
config:
94-
- destination: 0.0.0.0/0
95-
next-hop-address: <next_hop_ip_address> <5>
96-
next-hop-interface: <next_hop_nic1_name> <5>
65+
nmstate: | <3>
66+
interfaces: <4>
67+
- name: <nic1_name> <5>
68+
type: ethernet
69+
state: up
70+
ipv4:
71+
address:
72+
- ip: <ip_address> <5>
73+
prefix-length: 24
74+
enabled: true
75+
dns-resolver:
76+
config:
77+
server:
78+
- <dns_ip_address> <5>
79+
routes:
80+
config:
81+
- destination: 0.0.0.0/0
82+
next-hop-address: <next_hop_ip_address> <5>
83+
next-hop-interface: <next_hop_nic1_name> <5>
9784
---
9885
apiVersion: v1
9986
kind: Secret

0 commit comments

Comments
 (0)