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:
parent
148a55811d
commit
380756ace9
@ -124,6 +124,12 @@ def main():
|
||||
print "IPA Server: "+ds.getServerName()
|
||||
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
|
||||
ipaconf = ipaclient.ipachangeconf.IPAChangeConf("IPA Installer")
|
||||
ipaconf.setOptionAssignment(" = ")
|
||||
@ -225,4 +231,4 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
sys.exit(main())
|
||||
|
Loading…
Reference in New Issue
Block a user