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 

Is this documented anywhere else other than on Fedora's site? The docs I linked 
to are just plain wrong...



/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


Freeipa-users mailing list

Reply via email to