Skip to content

Commit 31ec7e6

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

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
@@ -126,24 +126,30 @@ apiVersion: machineconfiguration.openshift.io/v1
126126
kind: MachineConfig
127127
metadata:
128128
labels:
129-
machineconfiguration.openshift.io/role: worker <1>
130-
name: 10-br-ex-worker <2>
129+
machineconfiguration.openshift.io/role: worker
130+
name: 10-br-ex-worker <1>
131131
spec:
132132
config:
133133
ignition:
134134
version: 3.2.0
135135
storage:
136136
files:
137137
- contents:
138-
source: data:text/plain;charset=utf-8;base64,<base64_encoded_nmstate_configuration> <3>
138+
source: data:text/plain;charset=utf-8;base64,<base64_encoded_nmstate_configuration> <2>
139139
mode: 0644
140140
overwrite: true
141-
path: /etc/nmstate/openshift/cluster.yml
141+
path: /etc/nmstate/openshift/worker-0.yml <3>
142+
- contents:
143+
source: data:text/plain;charset=utf-8;base64,<base64_encoded_nmstate_configuration>
144+
mode: 0644
145+
overwrite: true
146+
path: /etc/nmstate/openshift/worker-1.yml <4>
142147
# ...
143148
----
144-
<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.
145-
<2> The name of the policy.
146-
<3> Writes the encoded base64 information to the specified path.
149+
<1> The name of the policy.
150+
<2> Writes the encoded base64 information to the specified path.
151+
<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.
152+
<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.
147153
endif::postinstall-bare-metal[]
148154

149155
ifdef::postinstall-bare-metal[]

0 commit comments

Comments
 (0)