mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add interactive prompts to ipa-server-install
Change unattended flag to be -U Change master password flag to be -P instead of -m Improve ipa-client-install readability for user prompts
This commit is contained in:
@@ -37,7 +37,7 @@ def parse_options():
|
||||
parser.add_option("--realm", dest="realm_name", help="realm name")
|
||||
parser.add_option("-d", "--debug", dest="debug", action="store_true",
|
||||
dest="debug", default=False, help="print debugging information")
|
||||
parser.add_option("-u", "--unattended", dest="unattended",
|
||||
parser.add_option("-U", "--unattended", dest="unattended",
|
||||
help="unattended installation never prompts the user")
|
||||
|
||||
options, args = parser.parse_args()
|
||||
@@ -83,7 +83,7 @@ def main():
|
||||
return ret
|
||||
else:
|
||||
print "Failed to determine your DNS domain (DNS misconfigured?)"
|
||||
dom = raw_input("Please provide your domain name (ex: example.com):")
|
||||
dom = raw_input("Please provide your domain name (ex: example.com): ")
|
||||
ret = ds.search(domain=dom)
|
||||
if ret == -2:
|
||||
logging.debug("IPA Server not found")
|
||||
@@ -93,7 +93,7 @@ def main():
|
||||
return ret
|
||||
else:
|
||||
print "Failed to find the IPA Server (DNS misconfigured?)"
|
||||
srv = raw_input("Please provide your server name (ex: ipa.example.com):")
|
||||
srv = raw_input("Please provide your server name (ex: ipa.example.com): ")
|
||||
ret = ds.search(domain=dom, server=srv)
|
||||
if ret != 0:
|
||||
print "Failed to verify that "+srv+" is an IPA Server, aborting!"
|
||||
|
||||
Reference in New Issue
Block a user