Page 1 of 1

Agent deployment via waptdeploy and dnsdomain

Published: March 16, 2018 - 1:03 PM
by TomTomGo
Hello,

We rely on SRV records to find the addresses of the main WAPT server and repositories.
When creating the agent deployment package, we can fill in the "Address of main WAPT repository" and "Address of WAPT server" fields.
Since we are using SRV records, I left these two fields blank to use "dynamic" detection via querying SRV records in DNS.
The agent deploys correctly, but then we get the error message attached.

This is logical since the dnsdomain parameter is empty in the wapt-get.ini file.
Could you please tell me how to configure this field during deployment via waptdeploy.exe?
Or am I doing something wrong?

Thank you.

Best regards,

Thomas

Re: Agent deployment via waptdeploy and dnsdomain

Published: March 21, 2018 - 5:22 PM
by htouvet
There is a /dnsdomain parameter for waptagent.exe

Code: Select all

waptagent.exe /VERYSILENT /dnsdomain=mondomaine.lan /wapt_server= /repo_url=
With waptdeploy, there are no options at the moment...
But I made a patch to allow passing arbitrary arguments to the Waptagent.

https://github.com/tranquilit/WAPT/comm...f6499c5ad2

Re: Agent deployment via waptdeploy and dnsdomain

Published: March 22, 2018 - 11:06 AM
by htouvet
A build of waptdeploy with the --setupargs option:

https://wapt.tranquil.it/wapt/nightly/w ... deploy.exe