mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
Remove some configuration files we create upon un-installation
This is particularly important for Apache since we'd leave the web server handling unconfigured locations.
This commit is contained in:
@@ -140,6 +140,12 @@ def uninstall(options):
|
||||
print "Reboot command failed to exceute. " + str(e)
|
||||
sys.exit(1)
|
||||
|
||||
# Remove the IPA configuration file
|
||||
try:
|
||||
os.remove("/etc/ipa/default.conf")
|
||||
except:
|
||||
pass
|
||||
|
||||
def configure_ipa_conf(fstore, cli_basedn, cli_realm, cli_domain, cli_server):
|
||||
ipaconf = ipaclient.ipachangeconf.IPAChangeConf("IPA Installer")
|
||||
ipaconf.setOptionAssignment(" = ")
|
||||
|
||||
Reference in New Issue
Block a user