Skip to content

Commit e9a8bdd

Browse files
committed
OCPBUGS-56925: Updated the creating-manifest-file-customized-br-ex-bridge.adoc for individual hostname paths
1 parent 78e193e commit e9a8bdd

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

modules/creating-manifest-file-customized-br-ex-bridge.adoc

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,30 @@ apiVersion: machineconfiguration.openshift.io/v1
124124
kind: MachineConfig
125125
metadata:
126126
labels:
127-
machineconfiguration.openshift.io/role: worker <1>
128-
name: 10-br-ex-worker <2>
127+
machineconfiguration.openshift.io/role: worker
128+
name: 10-br-ex-worker <1>
129129
spec:
130130
config:
131131
ignition:
132132
version: 3.2.0
133133
storage:
134134
files:
135135
- contents:
136-
source: data:text/plain;charset=utf-8;base64,<base64_encoded_nmstate_configuration> <3>
136+
source: data:text/plain;charset=utf-8;base64,<base64_encoded_nmstate_configuration> <2>
137137
mode: 0644
138138
overwrite: true
139-
path: /etc/nmstate/openshift/cluster.yml
139+
path: /etc/nmstate/openshift/worker-0.yml <3>
140+
- contents:
141+
source: data:text/plain;charset=utf-8;base64,<base64_encoded_nmstate_configuration>
142+
mode: 0644
143+
overwrite: true
144+
path: /etc/nmstate/openshift/worker-1.yml <4>
140145
# ...
141146
----
142-
<1> For each node in your cluster, specify the hostname path to your node and the base-64 encoded Ignition configuration file data for the machine type. If you have a single global configuration specified in an `/etc/nmstate/openshift/cluster.yml` configuration file that you want to apply to all nodes in your cluster, you do not need to specify the hostname path for each node. The `worker` role is the default role for nodes in your cluster. The `.yaml` extension does not work when specifying the hostname path for each node or all nodes in the `MachineConfig` manifest file.
143-
<2> The name of the policy.
144-
<3> Writes the encoded base64 information to the specified path.
147+
<1> The name of the policy.
148+
<2> Writes the encoded base64 information to the specified path.
149+
<3> If you have a single global configuration specified in an `/etc/nmstate/openshift/cluster.yml` configuration file that you want to apply to all nodes in your cluster, you do not need to specify the hostname path for each node, such as `/etc/nmstate/openshift/<node_hostname>.yml`. The `worker` role is the default role for nodes in your cluster. The `.yaml` extension does not work when specifying the hostname path for each node or all nodes in the `MachineConfig` manifest file.
150+
<4> For each node in your cluster, specify the hostname path to your node and the base-64 encoded Ignition configuration file data for the machine type.
145151
endif::postinstall-bare-metal-ipi,postinstall-bare-metal-upi[]
146152

147153
ifdef::postinstall-bare-metal-ipi,postinstall-bare-metal-upi[]

0 commit comments

Comments
 (0)