ipatests: Add Unattended option to external ca task

After resolving https://pagure.io/freeipa/issue/7930
an unattended option alongsede with -r 'REALM' option
needs to be passed to tasks which lacks ntp options.

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Oleg Kozlov <okozlov@redhat.com>
This commit is contained in:
Tibor Dudlák 2019-05-21 13:46:32 +02:00
parent e3f35843dc
commit be39d3a99b
No known key found for this signature in database
GPG Key ID: 12B8BD343576CDF5

View File

@ -84,7 +84,7 @@ def install_server_external_ca_step1(host, extra_args=()):
def install_server_external_ca_step2(host, ipa_ca_cert, root_ca_cert,
raiseonerr=True):
"""Step 2 to install the ipa server with external ca"""
args = ['ipa-server-install',
args = ['ipa-server-install', '-U', '-r', host.domain.realm,
'-a', host.config.admin_password,
'-p', host.config.dirman_password,
'--external-cert-file', ipa_ca_cert,