mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
use a constant instead of /var/lib/sss/keytabs
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
ae7cd4702d
commit
54e5ffc000
3 files changed
+7
-4
No files matched your search
@@ -1018,8 +1018,8 @@ def uninstall_master(host, ignore_topology_disconnect=True,
|
||||
paths.IPA_RENEWAL_LOCK,
|
||||
paths.REPLICA_INFO_GPG_TEMPLATE % host.hostname],
|
||||
raiseonerr=False)
|
||||
host.run_command("find /var/lib/sss/keytabs -name '*.keytab' | "
|
||||
"xargs rm -fv", raiseonerr=False)
|
||||
host.run_command("find %s -name '*.keytab' | "
|
||||
"xargs rm -fv" % paths.SSSD_KEYTABS_DIR, raiseonerr=False)
|
||||
host.run_command("find /run/ipa -name 'krb5*' | xargs rm -fv",
|
||||
raiseonerr=False)
|
||||
if clean:
|
||||
|
||||
Reference in new issue
Block a user