You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixing up issues for bad sshKey declaration in install-config.yaml
and removing additional spaces before "EOF" for sample configs files
of agent-config.yaml and install-config.yaml
Signed-off-by: Ultimate-etamitlU <[email protected]>
Copy file name to clipboardExpand all lines: modules/installing-ocp-agent-inputs.adoc
+25-5Lines changed: 25 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,9 +63,8 @@ networking:
63
63
platform:
64
64
none: {}
65
65
pullSecret: '<pull_secret>' <4>
66
-
sshKey: |
67
-
'<ssh_pub_key>' <5>
68
-
EOF
66
+
sshKey: '<ssh_pub_key>' <5>
67
+
EOF
69
68
----
70
69
+
71
70
<1> Specify the system architecture, valid values are `amd64` and `arm64`.
@@ -151,12 +150,33 @@ hosts: <2>
151
150
next-hop-address: 192.168.111.2
152
151
next-hop-interface: eno1
153
152
table-id: 254
154
-
EOF
153
+
EOF
155
154
----
156
155
+
157
156
<1> This IP address is used to determine which node performs the bootstrapping process as well as running the `assisted-service` component.
158
157
You must provide the rendezvous IP address when you do not specify at least one host's IP address in the `networkConfig` parameter. If this address is not provided, one IP address is selected from the provided hosts' `networkConfig`.
159
158
<2> Optional: Host configuration. The number of hosts defined must not exceed the total number of hosts defined in the `install-config.yaml` file, which is the sum of the values of the `compute.replicas` and `controlPlane.replicas` parameters.
160
159
<3> Optional: Overrides the hostname obtained from either the Dynamic Host Configuration Protocol (DHCP) or a reverse DNS lookup. Each host must have a unique hostname supplied by one of these methods.
161
160
<4> Enables provisioning of the Red Hat Enterprise Linux CoreOS (RHCOS) image to a particular device. It examines the devices in the order it discovers them, and compares the discovered values with the hint values. It uses the first discovered device that matches the hint value.
162
-
<5> Optional: Configures the network interface of a host in NMState format.
161
+
<5> Optional: Configures the network interface of a host in NMState format.
162
+
163
+
ifdef::pxe-boot[]
164
+
165
+
. Optional: To create an iPXE script, add the `bootArtifactsBaseURL` to the `agent-config.yaml` file:
166
+
+
167
+
[source,yaml]
168
+
----
169
+
apiVersion: v1beta1
170
+
kind: AgentConfig
171
+
metadata:
172
+
name: sno-cluster
173
+
rendezvousIP: 192.168.111.80
174
+
bootArtifactsBaseURL: <asset_server_URL>
175
+
----
176
+
+
177
+
Where `<asset_server_URL>` is the URL of the server you will upload the PXE assets to.
0 commit comments