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
<1> To configure the network interface for a newly created node, specify the name of the secret that contains the network configuration. Follow the `nmstate` syntax to define the network configuration for your node. See "Optional: Configuring host network interfaces in the install-config.yaml file" for details on configuring NMState syntax.
128
-
+
129
129
<2> Replace `<num>` for the worker number of the bare metal node in the `name` fields, the `credentialsName` field, and the `preprovisioningNetworkDataName` field.
130
-
+
131
130
<3> Add the NMState YAML syntax to configure the host interfaces.
131
+
<4> Optional: If you have configured the network interface with `nmstate`, and you want to disable an interface, set `state: up` with the IP addresses set to `enabled: false` as shown:
132
132
+
133
-
<4> Replace `<nic1_name>`, `<ip_address>`, `<dns_ip_address>`, `<next_hop_ip_address>` and `<next_hop_nic1_name>` with appropriate values.
134
-
+
135
-
<5> Replace `<base64_of_uid>` and `<base64_of_pwd>` with the base64 string of the user name and password.
136
-
+
137
-
<6> Replace `<nic1_mac_address>` with the MAC address of the bare metal node's first NIC. See the "BMC addressing" section for additional BMC configuration options.
138
-
+
139
-
<7> Replace `<protocol>` with the BMC protocol, such as IPMI, RedFish, or others. Replace `<bmc_url>` with the URL of the bare metal node's baseboard management controller.
140
-
+
141
-
<8> To skip certificate validation, set `disableCertificateVerification` to true.
142
-
+
143
-
<9> Replace `<bmc_username>` and `<bmc_password>` with the string of the BMC user name and password.
144
-
+
145
-
<10> Optional: Replace `<root_device_hint>` with a device path if you specify a root device hint.
146
-
+
147
-
<11> Optional: If you have configured the network interface for the newly created node, provide the network configuration secret name in the `preprovisioningNetworkDataName` of the BareMetalHost CR.
133
+
[source,yaml,]
134
+
----
135
+
---
136
+
interfaces:
137
+
- name: <nic_name>
138
+
type: ethernet
139
+
state: up
140
+
ipv4:
141
+
enabled: false
142
+
ipv6:
143
+
enabled: false
144
+
----
145
+
<5> Replace `<nic1_name>`, `<ip_address>`, `<dns_ip_address>`, `<next_hop_ip_address>` and `<next_hop_nic1_name>` with appropriate values.
146
+
<6> Replace `<base64_of_uid>` and `<base64_of_pwd>` with the base64 string of the user name and password.
147
+
<7> Replace `<nic1_mac_address>` with the MAC address of the bare metal node's first NIC. See the "BMC addressing" section for additional BMC configuration options.
148
+
<8> Replace `<protocol>` with the BMC protocol, such as IPMI, RedFish, or others. Replace `<bmc_url>` with the URL of the bare metal node's baseboard management controller.
149
+
<9> To skip certificate validation, set `disableCertificateVerification` to true.
150
+
<10> Replace `<bmc_username>` and `<bmc_password>` with the string of the BMC user name and password.
151
+
<11> Optional: Replace `<root_device_hint>` with a device path if you specify a root device hint.
152
+
<12> Optional: If you have configured the network interface for the newly created node, provide the network configuration secret name in the `preprovisioningNetworkDataName` of the BareMetalHost CR.
0 commit comments