diff options
author | Karl MacMillan <kmacmill@redhat.com> | 2007-12-12 10:16:22 -0500 |
---|---|---|
committer | Karl MacMillan <kmacmill@redhat.com> | 2007-12-12 10:16:22 -0500 |
commit | 380756ace9f1f6f4ce1e203d53f64ac503bb6652 (patch) | |
tree | b492d6b46b83a653b4f8c335248d10d4668b9674 /ipa-client | |
parent | 148a55811d0e9814bc2943f3600acf17be1b844e (diff) | |
download | freeipa-380756ace9f1f6f4ce1e203d53f64ac503bb6652.tar.gz freeipa-380756ace9f1f6f4ce1e203d53f64ac503bb6652.tar.xz freeipa-380756ace9f1f6f4ce1e203d53f64ac503bb6652.zip |
Confirm before configuring the client.
Diffstat (limited to 'ipa-client')
-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()) |