mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes CA endpoint by using the actual connection address
This commit is contained in:
parent
2f0cc846f3
commit
312fd4a03f
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ function Start-IcingaAgentInstallWizard()
|
|||
|
||||
if ($CanConnectToParent) {
|
||||
if ([string]::IsNullOrEmpty($CAEndpoint)) {
|
||||
$CAEndpoint = (Get-IcingaAgentInstallerAnswerInput -Prompt 'Please enter the FQDN for either ONE of your Icinga parent node/nodes or your Icinga 2 CA master' -Default 'v' -DefaultInput $Endpoints[0]).answer;
|
||||
$CAEndpoint = (Get-IcingaAgentInstallerAnswerInput -Prompt 'Please enter the FQDN for either ONE of your Icinga parent node/nodes or your Icinga 2 CA master' -Default 'v' -DefaultInput (Get-IPConfigFromString $EndpointConnections[0]).address).answer;
|
||||
$InstallerArguments += "-CAEndpoint $CAEndpoint";
|
||||
}
|
||||
if ($null -eq $Ticket) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue