sudo hostnamectl set-hostname ipa.mydomain.local
/etc/hosts
sudo firewall-cmd --add-service=freeipa-ldap --add-service=freeipa-ldaps --permanent
sudo dnf install -y freeipa-server freeipa-server-dns nfs-utils
sudo ipa-server-install --mkhomedir --allow-zone-overlap ##<--needed if domain is already registered elsewhere
sudo apt install -y freeipa-client
sudo ipa-client-install --mkhomedir