[Freeipa-users] Split enrollment (adding hosts via kickstart)

Rob Crittenden rcritten at redhat.com
Wed May 16 20:25:41 UTC 2012


Ian Levesque wrote:
>
> On May 16, 2012, at 3:57 PM, Rob Crittenden wrote:
>
>> Ian Levesque wrote:
>>> Hi Rob, et al -
>>>
>>> I tried again, and am pasting all the output below. Is there something I'm missing?
>>
>> Drop the = with -w. You're passing the password as =foobar.
>>
>> Do not use a = with single dash options, only double-dash ones. To make it more confusing you don't have to use an equals with double-dash options either but you can. Ain't unix cli options great?
>>
>> rob
>
> Right you are! Thanks for your help, Rob - this will certainly help us with mass deployments.
>
> For the record, the winning combination:
>
> ipa host-add ian-ultra24-dmz.in.hwlab --password=foobar
> ipa-client-install --hostname=ian-ultra24-dmz.in.hwlab --domain=in.hwlab --password=foobar --realm=SBGRID.ORG --server=sbgrid-directory.in.hwlab --unattended
>
> Is this documented anywhere else other than on Fedora's site? The docs I linked to are just plain wrong...
>
> http://docs.fedoraproject.org/en-US/Fedora/16/html/FreeIPA_Guide/kickstart.html
>
> says:
>
> /usr/sbin/ipa-client-install --domain=EXAMPLEDOMAIN --enable-dns-updates --mkomedir --principal=HOST/$(cat /tmp/hostname.txt) -w=secret --realm=EXAMPLEREALM --server=ipaserver.example.com --unattended
>
> Best,
> Ian

Ouch, sorry about the bad docs. I've filed a bug to have that corrected, 
https://bugzilla.redhat.com/show_bug.cgi?id=822252

regards

rob




More information about the Freeipa-users mailing list