[Freeipa-users] What's the proper format for an automember serverhostname rule?

Jason B. Nance jason at tresgeek.net
Wed Apr 19 18:53:03 UTC 2017


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20170419/4ab20715/attachment.htm>


More information about the Freeipa-users mailing list