mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: tasks: Accept extra arguments when installing client
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
ceca0b5591
commit
24aa0a91e5
@@ -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