OCP: Day 01
Prerequisites
Change timezone to UTC
timedatectl
sudo timedatectl set-timezone UTC- check network device status
nmcli device status
nmcli connection show- Activate
nmcli connection up <connection name>- Add Network profile if ip address is not taken
nmcli con add type ethernet ifname ens160 con-name ens160- Bring the connection up
nmcli con up ens160Configure Local yum using ISO
- Mount Iso Image
mount /dev/sr0 /mnt/- Create the yum repo
cat << EOF > /etc/yum.repos.d/rhel8-local.repo
[BaseOS]
name=RHEL8 BaseOS
baseurl=file:///mnt/BaseOS
enabled=1
gpgcheck=0
[AppStream]
name=RHEL8 AppStream
baseurl=file:///mnt/AppStream
enabled=1
gpgcheck=0
EOF