mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes spelling and adding default values
This commit is contained in:
parent
c2fce7042f
commit
aa7452beb3
1 changed files with 3 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ function Start-IcingaAgentInstallWizard()
|
|||
}
|
||||
|
||||
if ([string]::IsNullOrEmpty($AgentVersion)) {
|
||||
$AgentVersion = (Get-IcingaAgentInstallerAnswerInput -Prompt 'Please specify the version you wish to install ("latest", "snapshot", or a version like "2.11.0")' -Default 'v').answer;
|
||||
$AgentVersion = (Get-IcingaAgentInstallerAnswerInput -Prompt 'Please specify the version you wish to install ("latest", "snapshot", or a version like "2.11.0")' -Default 'v' -DefaultInput 'latest').answer;
|
||||
$InstallerArguments += "-AgentVersion '$AgentVersion'";
|
||||
|
||||
Write-Host ([string]::Format('Installing Icinga Version: "{0}"', $AgentVersion));
|
||||
|
|
@ -254,7 +254,7 @@ function Start-IcingaAgentInstallWizard()
|
|||
}
|
||||
|
||||
if ($null -eq $InstallFrameworkService) {
|
||||
if ((Get-IcingaAgentInstallerAnswerInput -Prompt 'Do you want to install the PowerShell Framework as Service?' -Default 'y').result -eq 1) {
|
||||
if ((Get-IcingaAgentInstallerAnswerInput -Prompt 'Do you want to install the PowerShell Framework as a Service?' -Default 'y').result -eq 1) {
|
||||
$result = Get-IcingaFrameworkServiceBinary;
|
||||
$InstallerArguments += "-InstallFrameworkService 1";
|
||||
$InstallerArguments += [string]::Format("-FrameworkServiceUrl '{0}'", $result.FrameworkServiceUrl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue