Register a tentacle allowing both tenanted and untenanted deployments via CL

Hello,

Title says it all really - I’m looking to register a tentacle via the command line, using register-with, that would make the machine hosting the tentacle allow both tenanted and untenanted deployments.

The doc only explains about the --tenant and --tenanttag parameters, so not quite sure if it’s actually possible ?

Many thanks,
Laurent

Hi Laurent,

Unfortunately it is not possible to do that via the CLI.
I have created an issue for it, https://github.com/OctopusDeploy/Issues/issues/3782
Feel free to add extra comments to it.

Cheers
John

Thanks John, was afraid so.
Any idea what a possible workaround could be?

Laurent

Hi Laurent,

You should be able to do it via the REST API directly.

You need to retrieve the machine, eg:
GET /api/machines/Machines-1
and then update
TenantedDeploymentParticipation="TenantedOrUntenanted"
and submit it via POST, eg:
POST /api/machines/Machines-1

Cheers
John