mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Confirm before configuring the client.
This commit is contained in:
@@ -124,6 +124,12 @@ def main():
|
|||||||
print "IPA Server: "+ds.getServerName()
|
print "IPA Server: "+ds.getServerName()
|
||||||
print "BaseDN: "+ds.getBaseDN()
|
print "BaseDN: "+ds.getBaseDN()
|
||||||
|
|
||||||
|
print "\n"
|
||||||
|
yesno = raw_input("Continue to configure the system with these values? [y/N] ")
|
||||||
|
if yesno.lower() != "y":
|
||||||
|
return 1
|
||||||
|
print "\n"
|
||||||
|
|
||||||
# Configure ipa.conf
|
# Configure ipa.conf
|
||||||
ipaconf = ipaclient.ipachangeconf.IPAChangeConf("IPA Installer")
|
ipaconf = ipaclient.ipachangeconf.IPAChangeConf("IPA Installer")
|
||||||
ipaconf.setOptionAssignment(" = ")
|
ipaconf.setOptionAssignment(" = ")
|
||||||
@@ -225,4 +231,4 @@ def main():
|
|||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
main()
|
sys.exit(main())
|
||||||
|
|||||||
Reference in New Issue
Block a user