[Freeipa-users] Cmd-line Unprovision & OTP setting for a host

Innes, Duncan Duncan.Innes at virginmoney.com
Tue Sep 18 13:59:42 UTC 2012


Thanks,

I stumbled across the same resolution just before I went for lunch.
Found
myself more keen to eat and less keen to let you all know I'd found a
solution.

Not sure IPA could re-use all the information between rebuilds quite as
freely as you want.  Unless you backup the IPA certificate etc. before
re-provisioning and then restore the relevant details on rebuild.  Would
that be possible?

Finally, appologies for the utter failure to edit the cruft out of my
original
message before sending it.

Cheers

Duncan

> From: Charlie Derwent
> Sent: 18 September 2012 12:34
> To: Innes, Duncan
> Cc: freeipa-users
> Subject: Re: [Freeipa-users] Cmd-line Unprovision & OTP setting for a
host
> 
> Hi 
> 	 
> I've used "ipa host-disable ${HOST}; ipa host-mod --password=${PASS}
${HOST}"
> In the past and that seems to work quite well.  The ideal for me would
be a
> situation where the IPA information could persist between rebuilds.
> 	 
> Cheers,
> Charlie
> 	
> On Tue, Sep 18, 2012 at 12:05 PM, Innes, Duncan wrote:
> 	
> > Folks,
> >		
> > Juggling a problem here that perhaps doesn't have a perfect
solution.
> > I'm looking at systems that get re-provisioned by a
> > Satellite/Spacewalk/Installation method.  For full (Free)IPA
> > integration, we normally delete the old entry from IPA, create a new
one
> > from scratch and set the OTP to match what we put in our
post-install
> > script called by the kickstart file.
> >		
> > Just noticed that I can do the same thing by Unprovisioning the
system
> > via the WebUI and then setting the OTP.
> >		
> > Is there a way to Unprovision a registered host and set a OTP via
the
> > command line?  I was looking at 'ipa host-mod --setattr' but not
getting
> > too far with the Unprovisioning aspect.
> >		
> > Duncan Innes | Linux Architect | Virgin Money
> >


Northern Rock plc is part of the Virgin Money group of companies.

This e-mail is intended to be confidential to the recipient. If you receive a copy in error, please inform the sender and then delete this message. 

Virgin Money Personal Financial Service Limited is authorised and regulated by the Financial Services Authority. Company no. 3072766. 

Virgin Money Unit Trust Managers Limited is authorised and regulated by the Financial Services Authority. Company no. 3000482. 

Virgin Money Cards Limited. Introducer appointed representative only of Virgin Money Personal Financial Service Limited. Company no. 4232392.

Virgin Money Management Services Limited. Company no. 3072772.

Virgin Money Holdings (UK) Limited. Company no. 3087587.

Each of the above companies is registered in England and Wales and has its registered office at Discovery House, Whiting Road, Norwich NR4 6EJ. 

Northern Rock plc. Authorised and regulated by the Financial Services Authority. Registered in England and Wales (Company no. 6952311) with its registered office at Northern Rock House, Gosforth, Newcastle upon Tyne NE3 4PL. 

The above companies use the trading name Virgin Money.





More information about the Freeipa-users mailing list