Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Deployment Guide—Red Hat OpenShift Container Platform 4.2 > Preparing the CSAH node
To install Red Hat Enterprise Linux 8.0 in the CSAH node:
The Red Hat Enterprise Linux Installation UI is displayed, as shown in the following figure:
Figure 1. Operating system installation UI options
Note: Under Software Selection, ensure that Server with GUI is selected.
After the installation is complete, set the hostname to reflect the naming standards by running the following command:
hostnamectl set-hostname <hostname>.<clustername>.<base domain>
hostnamectl set-hostname csah.ocp.example.com
nmcli connection modify ens2f0 ipv4.method manual ipv4.address <ipaddress/cidr> connection.autoconnect yes ipv4.gateway <gateway> ipv4.dns <dns-server> ipv4.dns-search <clustername.base domain>
Note: The assigned IP address must be able to reach the internet and the DNS must be able to resolve subscription.rhsm.redhat.com. For this installation process, internet access for all nodes is required. Red Hat provides an offline deployment method that is beyond the scope of this deployment guide.
100.82.46.20 csah csah.ocp.example.com
subscription-manager register --username <subscription.user> --password <subscription.password> --force
subscription-manager attach --pool=<pool id>
subscription-manager repos --enable=ansible-2.8-for-rhel-8-x86_64-rpms
yum install -y git jq ansible
useradd <user>
Note: Do not use ‘core’ as the username. User core is used as part of the OpenShift Container Platform cluster configuration. The remainder of this guide assumes that user ‘ansible’ is created to run playbooks.
ssh-keygen (press enter and go by defaults for the next set of questions)
cat .ssh/id_rsa.pub > .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
visudo
# add the following line after # %wheel ALL=(ALL) NOPASSWD: ALL
ansible ALL=(ALL) NOPASSWD: ALL
git clone
https://github.com/dell-esg/openshift-bare-metal.git