summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-server-install5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 16a9e3391..ba056fde2 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -619,7 +619,10 @@ def main():
# This will override any settings passed in on the cmdline
if ipautil.file_exists(ANSWER_CACHE):
- dm_password = read_password("Directory Manager", confirm=False)
+ if options.dm_password is not None:
+ dm_password = options.dm_password
+ else:
+ dm_password = read_password("Directory Manager", confirm=False)
if dm_password is None:
sys.exit("\nDirectory Manager password required")
try: