Hello,
We use a powershell variable, let’s call it #{FQDN}, in the variable substitution step when deploying a package.
However, setting it via the UI is not ideal as we have quite a few machines.
Using #{Octopus.Machine.Hostname} does not work either as sometimes it’s the hostname without the domain (depending on how we installed it) and that makes the installation too fragile.
I can use powershell to easilly determine the FQDN but cannot figure out the best way to pass this to the substitution step…
Please can you advise how to achieve this, I’d rather not do the variable substitution with powershell but could if that was the only way…