Fixes plugin installation if wizard arguments are set

Fixes #46
This commit is contained in:
Christian Stein 2020-02-13 16:28:06 +01:00
parent cfd28f30e2
commit 3e86748dd0

View file

@ -424,6 +424,10 @@ function Start-IcingaAgentInstallWizard()
} else {
$InstallerArguments += "-InstallFrameworkPlugins 0";
}
} elseif ($InstallFrameworkPlugins -eq 1) {
$result = Install-IcingaFrameworkPlugins -PluginsUrl $PluginsUrl;
$InstallerArguments += "-InstallFrameworkPlugins 1";
$InstallerArguments += "-PluginsUrl '$PluginsUrl'";
}
if ($null -eq $InstallFrameworkService) {