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
8bce99e42a
commit
a390d92623
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ function Start-IcingaAgentInstallWizard()
|
||||||
|
|
||||||
if ($CanConnectToParent) {
|
if ($CanConnectToParent) {
|
||||||
if ([string]::IsNullOrEmpty($CAEndpoint)) {
|
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";
|
$InstallerArguments += "-CAEndpoint $CAEndpoint";
|
||||||
}
|
}
|
||||||
if ($null -eq $Ticket) {
|
if ($null -eq $Ticket) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue