ipatests: tasks: Accept extra arguments when installing client
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
1 parent
ceca0b5591
commit
24aa0a91e5
1 file changed
+3
-2
@@ -236,7 +236,7 @@ def install_replica(master, replica, setup_ca=True):
|
||||
kinit_admin(replica)
|
||||
|
||||
|
||||
def install_client(master, client):
|
||||
def install_client(master, client, extra_args=()):
|
||||
client.collect_log('/var/log/ipaclient-install.log')
|
||||
|
||||
apply_common_fixes(client)
|
||||
@@ -246,7 +246,8 @@ def install_client(master, client):
|
||||
'--realm', client.domain.realm,
|
||||
'-p', client.config.admin_name,
|
||||
'-w', client.config.admin_password,
|
||||
'--server', master.hostname])
|
||||
'--server', master.hostname]
|
||||
+ list(extra_args))
|
||||
|
||||
kinit_admin(client)
|
||||
|
||||
|
||||
Reference in new issue
Block a user