mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
updates to the static IP address method after review
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
0214c6cc30
commit
57480097f3
@@ -59,19 +59,23 @@ coreos.inst=yes
|
||||
coreos.inst.install_dev=sda <1>
|
||||
coreos.inst.image_url=<bare_metal_image_URL> <2>
|
||||
coreos.inst.ignition_url=http://example.com/config.ign <3>
|
||||
ip=<dhcp or static IP address> <4>
|
||||
ip=<dhcp or static IP address> <4> <5>
|
||||
----
|
||||
<1> Specify the block device of the system to install to.
|
||||
<2> Specify the URL of the RAW image that you uploaded to your server.
|
||||
<3> Specify the URL of the Ignition config file for this machine type.
|
||||
<4> Set `ip=dhcp` or set an individual static IP address (ip=) and DNS server (nameserver=) on each node.
|
||||
<4> Set `ip=dhcp` or set an individual static IP address (`ip=`) and DNS server (`nameserver=`) on each node.
|
||||
For example, setting
|
||||
`ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:enp1s0:none nameserver=4.4.4.41` sets:
|
||||
* Node's IP address to 10.10.10.2
|
||||
* Gateway address to 10.10.10.254
|
||||
* Netmask to 255.255.255.0
|
||||
* Hostname to core0.example.com
|
||||
* The DNS server address to 4.4.4.41
|
||||
* Node's IP address to `10.10.10.2`
|
||||
* Gateway address to `10.10.10.254`
|
||||
* Netmask to `255.255.255.0`
|
||||
* Hostname to `core0.example.com`
|
||||
* The DNS server address to `4.4.4.41`
|
||||
<5> If you use multiple network interfaces or DNS servers, you can further customize the IP address configuration in the following ways:
|
||||
* If your system has multiple network interfaces, you can add multiple IP address configurations by specifying multiple `ip=` entries.
|
||||
* If your system has multiple network interfaces, you can use a combination of DHCP and static IP configurations. You must specify the interface to use, for example `ip=enp1s0:dhcp ip=10.10.10.2::10.10.10.254:255.255.255.0:core0.example.com:enp2s0:none`.
|
||||
* You can provide multiple DNS servers by adding a `nameserver=` entry for each server, such as `nameserver=1.1.1.1 nameserver=8.8.8.8`.
|
||||
|
||||
. Press Enter to complete the installation. After {op-system} installs, the system
|
||||
reboots. After the system reboots, it applies the Ignition config file that you
|
||||
|
||||
Reference in New Issue
Block a user