Peter Tselios via FreeIPA-users wrote:
Hello,
I want to use Foreman and/or AWS to provision hosts that will be registered to my
FreeIPA.
I have created all the locations that I will use and I have one FreeIPA replica on each
location. From the documentation seems that I need to use the ipa-client-install and then
use the ipa host-mod to modify the host's location, meaning that I need to modify the
permissions the Foreman script created the my user.
Is there any other way to automatically add a host in a location?
I think you may be misunderstanding location. The location value in the
host entry has nothing to do with
https://www.freeipa.org/page/Howto/IPA_locations
You don't need to configure clients by location.
rob