diff --git a/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 b/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 index 20c2686..0b93668 100644 --- a/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 +++ b/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 @@ -136,6 +136,13 @@ function Initialize-Installer { { Import-InstallerModules + + Write-Host "Initialisiere Bootstrap..." -ForegroundColor Cyan + + Initialize-Bootstrap ` + -RootPath $Script:InstallerRoot + + Write-Host "3 - Module erfolgreich geladen." -ForegroundColor Green } catch @@ -201,8 +208,7 @@ function Get-InstallerConfiguration { Write-Host "Lade Veeam Konfiguration..." -ForegroundColor Yellow - Import-VeeamConfiguration ` - -Path $Script:ConfigPath + Import-VeeamConfiguration $Config = Get-Configuration diff --git a/VEEAM-INSTTALL/Modules/CORE/Configuration.psm1 b/VEEAM-INSTTALL/Modules/CORE/Configuration.psm1 index 520f41c..db7d1c7 100644 --- a/VEEAM-INSTTALL/Modules/CORE/Configuration.psm1 +++ b/VEEAM-INSTTALL/Modules/CORE/Configuration.psm1 @@ -1109,58 +1109,7 @@ function Test-ConfigurationIntegrity { return $true } -############################################################ -# Get-VeeamConfig -############################################################ -function Get-VeeamConfig { - - - <# - .SYNOPSIS - Lädt zentrale Veeam Konfiguration aus JSON. - #> - - - param( - - [string]$Path = (Join-Path ( Split-Path $PSScriptRoot -Parent )"Config\VeeamConfig.json") - - ) - - - if(!(Test-Path $Path)) - { - - throw ` - - "Konfigurationsdatei nicht gefunden: $Path" - - } - - - - $Content = - - Get-Content ` - - -Path $Path ` - - -Raw - - - - $Configuration = - - $Content | - - ConvertFrom-Json - - - - return $Configuration - -}