<commit_before>// Module included in the following assemblies:
//
// * installing/installing_bare_metal/installing-bare-metal-network-customizations.adoc
// * installing/installing_bare_metal/installing-bare-metal.adoc
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
// * installing/installing_ibm_power/installing-ibm-power.adoc
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
// * installing/installing_platform_agnostic/installing-platform-agnostic.adoc

ifeval::["{context}" == "installing-ibm-power"]
:ibm-power:
:only-pxe:
endif::[]
ifeval::["{context}" == "installing-restricted-networks-ibm-power"]
:ibm-power:
:only-pxe:
endif::[]

[id="installation-user-infra-machines-pxe_{context}"]
ifndef::only-pxe[]
= Installing {op-system} by using PXE or iPXE booting
endif::only-pxe[]
ifdef::only-pxe[]
= Installing {op-system} by using PXE booting
endif::only-pxe[]

ifndef::only-pxe[]
You can use PXE or iPXE booting to install {op-system} on the machines.
endif::only-pxe[]
ifdef::only-pxe[]
You can use PXE booting to install {op-system} on the machines.
endif::only-pxe[]

.Prerequisites

* You have created the Ignition config files for your cluster.
* You have configured suitable network, DNS and load balancing infrastructure.
ifndef::only-pxe[]
* You have configured suitable PXE or iPXE infrastructure.
endif::only-pxe[]
ifdef::only-pxe[]
* You have configured suitable PXE infrastructure.
endif::only-pxe[]
* You have an HTTP server that can be accessed from your computer, and from the machines that you create.
* You have reviewed the _Advanced {op-system} installation configuration_ section for different ways to configure features, such as networking and disk partitioning.

.Procedure

. Upload the bootstrap, control plane, and compute node Ignition config files that the
installation program created to your HTTP server. Note the URLs of these files.
+
[IMPORTANT]
====
You can add or change configuration settings in your Ignition configs
before saving them to your HTTP server.
If you plan to add more compute machines to your cluster after you finish
installation, do not delete these files.
====

. From the installation host, validate that the Ignition config files are available on the URLs. The following example gets the Ignition config file for the bootstrap node:
+
[source,terminal]
----
$ curl -k http://<HTTP_server>/bootstrap.ign <1>
----
+
.Example output
[source,terminal]
----
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{"ignition":{"version":"3.2.0"},"passwd":{"users":[{"name":"core","sshAuthorizedKeys":["ssh-rsa...
----
+
Replace `bootstrap.ign` with `master.ign` or `worker.ign` in the command to validate that the Ignition config files for the control plane and compute nodes are also available.

ifndef::openshift-origin[]
. Obtain the {op-system} `kernel`,
`initramfs` and `rootfs` files from the
link:https://access.redhat.com/downloads/content/290[Product Downloads] page on the Red
Hat customer portal or the
link:https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/[{op-system} image mirror]
page.
+
[IMPORTANT]<commit_msg>Link only to the OCP mirror site for live PXE image downloads<commit_after>// Module included in the following assemblies:
//
// * installing/installing_bare_metal/installing-bare-metal-network-customizations.adoc
// * installing/installing_bare_metal/installing-bare-metal.adoc
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
// * installing/installing_ibm_power/installing-ibm-power.adoc
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
// * installing/installing_platform_agnostic/installing-platform-agnostic.adoc

ifeval::["{context}" == "installing-ibm-power"]
:ibm-power:
:only-pxe:
endif::[]
ifeval::["{context}" == "installing-restricted-networks-ibm-power"]
:ibm-power:
:only-pxe:
endif::[]

[id="installation-user-infra-machines-pxe_{context}"]
ifndef::only-pxe[]
= Installing {op-system} by using PXE or iPXE booting
endif::only-pxe[]
ifdef::only-pxe[]
= Installing {op-system} by using PXE booting
endif::only-pxe[]

ifndef::only-pxe[]
You can use PXE or iPXE booting to install {op-system} on the machines.
endif::only-pxe[]
ifdef::only-pxe[]
You can use PXE booting to install {op-system} on the machines.
endif::only-pxe[]

.Prerequisites

* You have created the Ignition config files for your cluster.
* You have configured suitable network, DNS and load balancing infrastructure.
ifndef::only-pxe[]
* You have configured suitable PXE or iPXE infrastructure.
endif::only-pxe[]
ifdef::only-pxe[]
* You have configured suitable PXE infrastructure.
endif::only-pxe[]
* You have an HTTP server that can be accessed from your computer, and from the machines that you create.
* You have reviewed the _Advanced {op-system} installation configuration_ section for different ways to configure features, such as networking and disk partitioning.

.Procedure

. Upload the bootstrap, control plane, and compute node Ignition config files that the
installation program created to your HTTP server. Note the URLs of these files.
+
[IMPORTANT]
====
You can add or change configuration settings in your Ignition configs
before saving them to your HTTP server.
If you plan to add more compute machines to your cluster after you finish
installation, do not delete these files.
====

. From the installation host, validate that the Ignition config files are available on the URLs. The following example gets the Ignition config file for the bootstrap node:
+
[source,terminal]
----
$ curl -k http://<HTTP_server>/bootstrap.ign <1>
----
+
.Example output
[source,terminal]
----
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{"ignition":{"version":"3.2.0"},"passwd":{"users":[{"name":"core","sshAuthorizedKeys":["ssh-rsa...
----
+
Replace `bootstrap.ign` with `master.ign` or `worker.ign` in the command to validate that the Ignition config files for the control plane and compute nodes are also available.

ifndef::openshift-origin[]
. Obtain the {op-system} `kernel`,
`initramfs` and `rootfs` files from the
link:https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/[{op-system} image mirror]
page.
+
[IMPORTANT]
{'fraction_non_alphanumeric': 0.11997591449646244, 'fraction_numerical': 0.005268703898840885, 'mean_word_length': 4.174454828660436, 'pattern_counts': {'":': 12, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5622124', 'n_tokens_mistral': 2097, 'n_tokens_neox': 1977, 'n_words': 653}