How to set auth domain attribute on linux server via pattern designer

Varad Kulkarni
Tera Contributor

We have a requirement to set the auth domain field on the linux server.

We are using pattern designer for the discovery.

Command to be run to get the auth domain attribute is $ cat /etc/ipa/default.conf  | grep realm | cut -d'=' -f 2

Kindly request you to guide me with the steps to add in the pattern.

 

PFA the screenshots wherein I have added an extension step. But on all the servers it is setting ${_Name_} on the auth domain field

1 REPLY 1

CBartram
Tera Contributor

In Step 1 you can click on the variable _Name_ (the default value) and change it to something more relevant/friendly; say AuthDomain.

The in step 2 just use $AuthDomain   (no quotes) to retrieve the value you retrieved from step 1.