Adding Client Machine to IPA Domain
Adding a Client Machien to an IPA Domain
RHEL/CentOS
Add the IP/hostname of the FreeIPA server (Domain Controller) to the /etc/hosts file.
Run these commands, provide the domain admin password as required.
sudo dnf install @idm:client -y
sudo ipa-client-install
sudo authconfig --enablemkhomedir --update