One minute
Adding Hosts to FreeIPA
This is mostly useful notes to myself on adding machines to my freeipa instance, but maybe it would be useful to you too.
Hostname
The hosts joined to ipa need a FQDN as their hostname, the easiest way of updating this is with hostnamectl
.
sudo hostnamectl hostname <hostname>.<domain>
Dependencies
My default shell is zsh which isn’t installed by default. As i am using local home directories at the moment oddjob is in charge of making sure they are created.
sudo apt install freeipa-client zsh oddjob-mkhomedir
Todo: document enabling oddjob
edit..
Join Machine
Join the machine to the network. --mkhomedir
is needed as I am not using NFS home dirs at this time.
sudo ipa-client-install --mkhomedir
Read other posts