diff options
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rw-r--r-- | ipa-client/ipa-install/ipa-client-install | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index bc8e7c9c3..dfaabca3e 100644 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -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()) |