← all posts
Fri 09 May 2025 · 1 min read

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.

bash
1sudo 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.

bash
1sudo apt install freeipa-client zsh oddjob-mkhomedir

Todo: document enabling oddjob

Join Machine

Join the machine to the network. --mkhomedir is needed as I am not using NFS home dirs at this time.

bash
1sudo ipa-client-install --mkhomedir
search.exe
esc to close