summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-10-24 13:06:10 -0400
committerMartin Basti <mbasti@redhat.com>2016-10-25 14:01:06 +0200
commitd650c54fe4e327f95ffcb834418a5b6af59b212c (patch)
tree67ffb2fdb4013b015124b89d2820c90bd90cca65
parent2f567f0e8eb53306c5a3ecc04ac93e375b9c07d1 (diff)
Fix install scripts debugging
- Make sure to pass down the debug flag to ipa-client-install when the server install is run in debug mode Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
-rw-r--r--ipaserver/install/server/install.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py
index 0015a8cb7..2ddc7cc9e 100644
--- a/ipaserver/install/server/install.py
+++ b/ipaserver/install/server/install.py
@@ -896,6 +896,8 @@ def install(installer):
args.append("--no-sshd")
if options.mkhomedir:
args.append("--mkhomedir")
+ if options.debug:
+ args.append("--debug")
run(args, redirect_output=True)
print()
except Exception: