Skip to content

Commit 3354021

Browse files
authored
Merge pull request #84712 from Sakshi-Kulkarni/installation-documentation-typo
OCPBUGS-44417: Removed extra indentation from agent-config.yaml
2 parents 183ee1e + 7c34105 commit 3354021

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

modules/agent-install-networking.adoc

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,40 +39,40 @@ rendezvousIP: 192.168.111.80 <1>
3939
+
4040
[source,yaml]
4141
----
42-
cat > agent-config.yaml << EOF
43-
apiVersion: v1alpha1
44-
kind: AgentConfig
45-
metadata:
46-
name: sno-cluster
47-
rendezvousIP: 192.168.111.80 <1>
48-
hosts:
49-
- hostname: master-0
42+
cat > agent-config.yaml << EOF
43+
apiVersion: v1alpha1
44+
kind: AgentConfig
45+
metadata:
46+
name: sno-cluster
47+
rendezvousIP: 192.168.111.80 <1>
48+
hosts:
49+
- hostname: master-0
50+
interfaces:
51+
- name: eno1
52+
macAddress: 00:ef:44:21:e6:a5 <2>
53+
networkConfig:
5054
interfaces:
5155
- name: eno1
52-
macAddress: 00:ef:44:21:e6:a5 <2>
53-
networkConfig:
54-
interfaces:
55-
- name: eno1
56-
type: ethernet
57-
state: up
58-
mac-address: 00:ef:44:21:e6:a5
59-
ipv4:
60-
enabled: true
61-
address:
62-
- ip: 192.168.111.80 <3>
63-
prefix-length: 23 <4>
64-
dhcp: false
65-
dns-resolver:
66-
config:
67-
server:
68-
- 192.168.111.1 <5>
69-
routes:
70-
config:
71-
- destination: 0.0.0.0/0
72-
next-hop-address: 192.168.111.1 <6>
73-
next-hop-interface: eno1
74-
table-id: 254
75-
EOF
56+
type: ethernet
57+
state: up
58+
mac-address: 00:ef:44:21:e6:a5
59+
ipv4:
60+
enabled: true
61+
address:
62+
- ip: 192.168.111.80 <3>
63+
prefix-length: 23 <4>
64+
dhcp: false
65+
dns-resolver:
66+
config:
67+
server:
68+
- 192.168.111.1 <5>
69+
routes:
70+
config:
71+
- destination: 0.0.0.0/0
72+
next-hop-address: 192.168.111.1 <6>
73+
next-hop-interface: eno1
74+
table-id: 254
75+
EOF
7676
----
7777
<1> If a value is not specified for the `rendezvousIP` field, one address will be chosen from the static IP addresses specified in the `networkConfig` fields.
7878
<2> The MAC address of an interface on the host, used to determine which host to apply the configuration to.

0 commit comments

Comments
 (0)