Skip to content

Commit 08d64b8

Browse files
authored
Merge pull request #61907 from stevsmit/OCPBUGS-13674-MultiNic
Makes slight changes to MultiNic docs
2 parents 191ec31 + 56a3919 commit 08d64b8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

modules/overriding-default-node-ip-selection-logic.adoc

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NODEIP_HINT=192.0.2.1
3333
+
3434
[source,terminal]
3535
----
36-
$ echo 'NODEIP_HINT=192.0.2.1' | base64
36+
$ echo -n 'NODEIP_HINT=192.0.2.1' | base64 -w0
3737
----
3838
+
3939
.Example output
@@ -45,31 +45,31 @@ Tk9ERUlQX0hJTlQ9MTkyLjAuMCxxxx==
4545

4646
. Activate the hint by creating a machine config manifest for both `master` and `worker` roles before deploying the cluster:
4747
+
48-
.Master machine config manifest
48+
.99-nodeip-hint-master.yaml
4949
[source,yaml]
5050
----
5151
apiVersion: machineconfiguration.openshift.io/v1
5252
kind: MachineConfig
5353
metadata:
54-
labels:
55-
machineconfiguration.openshift.io/role: master
56-
name: 99-nodeip-hint-master
54+
labels:
55+
machineconfiguration.openshift.io/role: master
56+
name: 99-nodeip-hint-master
5757
spec:
58-
config:
59-
ignition:
60-
version: 3.2.0
61-
storage:
62-
files:
63-
- contents:
64-
source: data:text/plain;charset=utf-8;base64, <encoded_content> <1>
65-
mode: 0644
66-
overwrite: true
67-
path: /etc/default/nodeip-configuration
58+
config:
59+
ignition:
60+
version: 3.2.0
61+
storage:
62+
files:
63+
- contents:
64+
source: data:text/plain;charset=utf-8;base64,<encoded_content> <1>
65+
mode: 0644
66+
overwrite: true
67+
path: /etc/default/nodeip-configuration
6868
----
6969
+
70-
<1> Replace `<encoded_contents>` with the base64-encoded content of the `/etc/default/nodeip-configuration` file, for example, `Tk9ERUlQX0hJTlQ9MTkyLjAuMCxxxx==`.
70+
<1> Replace `<encoded_contents>` with the base64-encoded content of the `/etc/default/nodeip-configuration` file, for example, `Tk9ERUlQX0hJTlQ9MTkyLjAuMCxxxx==`. Note that a space is not acceptable after the comma and before the encoded content.
7171
+
72-
.Worker machine config manifest
72+
.99-nodeip-hint-worker.yaml
7373
[source,yaml]
7474
----
7575
apiVersion: machineconfiguration.openshift.io/v1
@@ -85,12 +85,12 @@ spec:
8585
storage:
8686
files:
8787
- contents:
88-
source: data:text/plain;charset=utf-8;base64, <encoded_content> <1>
88+
source: data:text/plain;charset=utf-8;base64,<encoded_content> <1>
8989
mode: 0644
9090
overwrite: true
9191
path: /etc/default/nodeip-configuration
9292
----
93-
<1> Replace `<encoded_contents>` with the base64-encoded content of the `/etc/default/nodeip-configuration` file, for example, `Tk9ERUlQX0hJTlQ9MTkyLjAuMCxxxx==`.
93+
<1> Replace `<encoded_contents>` with the base64-encoded content of the `/etc/default/nodeip-configuration` file, for example, `Tk9ERUlQX0hJTlQ9MTkyLjAuMCxxxx==`. Note that a space is not acceptable after the comma and before the encoded content.
9494

9595
. Save the manifest to the directory where you store your cluster configuration, for example, `~/clusterconfigs`.
9696

0 commit comments

Comments
 (0)