From 89c9c06f71e51b29eb91376caef7ad5ded68168e Mon Sep 17 00:00:00 2001 From: Parikshit S Khedekar <31507393+Ultimate-etamitlU@users.noreply.github.com> Date: Tue, 10 Oct 2023 22:58:51 +0530 Subject: [PATCH 1/2] Update installing-ocp-agent-inputs.adoc Fixing the issue #66031 --- modules/installing-ocp-agent-inputs.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/installing-ocp-agent-inputs.adoc b/modules/installing-ocp-agent-inputs.adoc index f340f22d8fe6..7d9d35c686df 100644 --- a/modules/installing-ocp-agent-inputs.adoc +++ b/modules/installing-ocp-agent-inputs.adoc @@ -63,8 +63,7 @@ networking: platform: none: {} pullSecret: '' <4> -sshKey: | - '' <5> +sshKey: '' <5> EOF ---- + @@ -159,4 +158,4 @@ You must provide the rendezvous IP address when you do not specify at least one <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. <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. <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. -<5> Optional: Configures the network interface of a host in NMState format. \ No newline at end of file +<5> Optional: Configures the network interface of a host in NMState format. From 9e529921149e7c59058c9df7d1e62082d650eb5f Mon Sep 17 00:00:00 2001 From: Parikshit S Khedekar <31507393+Ultimate-etamitlU@users.noreply.github.com> Date: Fri, 13 Oct 2023 02:04:10 +0530 Subject: [PATCH 2/2] Update installing-ocp-agent-inputs.adoc Trying to merge all in one --- modules/installing-ocp-agent-inputs.adoc | 25 ++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/modules/installing-ocp-agent-inputs.adoc b/modules/installing-ocp-agent-inputs.adoc index 69f6056945c5..5c6902c067fc 100644 --- a/modules/installing-ocp-agent-inputs.adoc +++ b/modules/installing-ocp-agent-inputs.adoc @@ -74,7 +74,7 @@ platform: none: {} pullSecret: '' <4> sshKey: '' <5> - EOF +EOF ---- + <1> Specify the system architecture, valid values are `amd64` and `arm64`. @@ -160,7 +160,7 @@ hosts: <2> next-hop-address: 192.168.111.2 next-hop-interface: eno1 table-id: 254 - EOF +EOF ---- + <1> This IP address is used to determine which node performs the bootstrapping process as well as running the `assisted-service` component. @@ -169,3 +169,24 @@ You must provide the rendezvous IP address when you do not specify at least one <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. <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. <5> Optional: Configures the network interface of a host in NMState format. + +ifdef::pxe-boot[] + +. Optional: To create an iPXE script, add the `bootArtifactsBaseURL` to the `agent-config.yaml` file: ++ +[source,yaml] +---- +apiVersion: v1beta1 +kind: AgentConfig +metadata: + name: sno-cluster +rendezvousIP: 192.168.111.80 +bootArtifactsBaseURL: +---- ++ +Where `` is the URL of the server you will upload the PXE assets to. +endif::pxe-boot[] + +ifeval::["{context}" == "prepare-pxe-assets-agent"] +:!pxe-boot: +endif::[]