The steps you mention seem fine to me Roberto, Detlev has detailed an alternative.
If you lose a client and need to rebuild (i.e. you didn't get chance to run the
"--uninstall" option) then you can also just delete the host entry from IPA
through the web gui or ipa command line before running the ipa-client-install (join)
command.
When I have issues with clients (very infrequent and I have some 5000 clients) I find that
running the "--uninstall" and then the install (steps 1 and 3) fix most issues
without having to look into them (blind fix for the time wary!)
Regards
Angus
________________________________
From: Detlev Habicht via FreeIPA-users <freeipa-users(a)lists.fedorahosted.org>
Sent: 04 December 2020 11:59
To: FreeIPA users list <freeipa-users(a)lists.fedorahosted.org>
Cc: Detlev Habicht <detlev.habicht(a)ims.uni-hannover.de>
Subject: [Freeipa-users] Re: Reinstalling client's OS
Hi,
you can reinstall a client with something like this:
/usr/sbin/ipa-client-install --force --unattended —domain=xxx —realm=xxx —server=xxx
—server=yyy --force-ntpd —keytab=./krb5.keytab --ca-cert-file=./ca.crt
But you must save your keytab and ca file before.
For me it is working …
Detlev
--
Detlev | Institut fuer Mikroelektronische Systeme
Habicht | D-30167 Hannover +49 511 76219662 habicht(a)ims.uni-hannover.de
--------+-------- Handy +49 172 5415752 ---------------------------
Am 04.12.2020 um 11:46 schrieb Roberto Cornacchia via FreeIPA-users
<freeipa-users(a)lists.fedorahosted.org>:
Hello,
Apologies if this is a trivial question, I could not find an obvious answer anywhere.
If I want to reinstall from scratch the OS of an already enrolled client, is this the
right procedure?
1. ipa-client-install --uninstall
2. <reinstall OS>
3. ipa-client-install
Best regards,
Roberto
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fe...
List Guidelines:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedorap...
List Archives:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.f...
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fe...
List Guidelines:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedorap...
List Archives:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.f...