g...@greg-gilbert.com wrote:
> When the instances register themselves with FreeIPA, their hostnames get
> changed to match their IP; that's a FreeIPA rule, I believe. So in this
> case, the hostname is 10.100.*.
> 
> ubuntu@10:~$ hostname
> 10.100.15.130

There is something very wrong. ipa-client should be setting a FQDN, not
an IP address. /var/log/ipaclient-install.log may hold some clues.

rob

> 
> On 2017-04-19 14:53, Jason B. Nance wrote:
> 
>> Hi Greg,
>>
>>     I'm trying to set up a rule based on server hostname. So for
>>     example, 10.100.* would be put into the 'developers' hostgroup. I
>>     can't figure out the proper format of the inclusive regex. I've tried:
>>
>> I believe that your regex needs to match the host name, not the IP
>> address.  Unless your host name is 10.100.<something> I don't think
>> that will match.  The regex for "anything" is ".*".  I think that the
>> pcre syntax is what is used.
>> Regards,
>>  
>> j
>>  
> 
> 
> 
> 

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Reply via email to