We have a set of PCs, running Ubuntu, deployed in customer environments, and we have used Teamviewer remote desktop to debug issues on them. So far we've installed Teamviewer manually on each new device by running teamviewer setup via an SSH connection.
We are moving to a more automated managing solution, where we run a tool on the device, that can run arbitrary scripts with root access on the device to be managed. Therefore we'd need to run a similar setup, but without the human interaction.
Is there a way to install Teamviewer on a device without manual intervention? Using the teamviewer setupcommand requires a human to accept the EULA and login with their credentials. I couldn't find a way to setup the remote "agent" with an authorization token (or similar), which we could simply pass onto the device in order for it to add itself to our management.
Using the IOT agent seems to provide a way to add a device non-interactively, but I'm not sure that the IOT agent even provides a remote desktop connection feature anyway. I don't know, because although I managed to add the device by teamviewer-iot-agent assign <TOKEN> —accept-license , I am unable to connect to the device from the Teamviewer web portal (I got an error "Service Unavailable The webpage cannot be displayed", EnableAppControl enabled and everything). I don't know if I should even bother debugging this path.
So the question is, is there a Teamviewer product/license that allows for adding a remote device by running a non-interactive script on a remote device?