2023-08-20 11:02:50 +02:00
|
|
|
def agent_mailcow_arguments(params, hostname, ipaddress):
|
|
|
|
return [
|
|
|
|
"--hostname", params["hostname"],
|
2024-01-26 11:39:01 +01:00
|
|
|
"--apikey", passwordstore_get_cmdline("%s", params["apikey"]),
|
2023-08-20 11:02:50 +02:00
|
|
|
"--port", params["port"],
|
2024-01-26 15:05:03 +01:00
|
|
|
"--check-version", params["check_version"],
|
2023-08-20 11:02:50 +02:00
|
|
|
"--no-https", params["no_https"],
|
|
|
|
"--no-cert-check", params["no_cert_check"],
|
|
|
|
ipaddress,
|
|
|
|
]
|
|
|
|
|
|
|
|
special_agent_info['mailcow'] = agent_mailcow_arguments
|