Automation script for parameters configuration
Last updated
Last updated
Thinfinity® Remote Workspace Agent allows you to add the parameters required to register that component into a Thinfinity Workspace solution. When you create a Virtual Machine, you will need to add the following script (in the ) codified into base 64 in your custom
NetworkId: your deployment's network IDGateway URL: your gateway/s URL Computername: it takes the name and the IP from the ComputerThe format of the JSON file which can be passed as custom data, user data, or as an argument to any of the binaries, is as follows:
In case of using the setup by command line, you have to call the executable in one of the following ways:
/SetInstance “C:\Thinfinity-config-JSON-Path\Thinfinity.json“
/SetInstance json-element-1-path=element-1-value … json-element-N-path=element-N-value
Examples:
In this case, you can also add one binding. Instead, using a file, you can add more than one since it is an array of bindings.
/SetInstance network.id=my-secret-network-id “gatewayUrls=https://gw1.domain.com” broker.id={InstanceID} broker.master=false broker.poolName=PrivatePool-1
/SetInstance network.id=my-secret-network-id “gatewayUrls=https://gw1.domain.com;” binding.https=false binding.port:8080
This sets the broker as secondary and named PrivatePool-1, connecting to the gateway using the networkID my-secret-network-id