Version 1.2.a
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"SQL": {
|
"SQL": {
|
||||||
"Server": "SERVER01",
|
"Server": "Auto",
|
||||||
"Instance": "VEEAMSQLSERVER",
|
"Instance": "VEEAMSQLSERVER",
|
||||||
"Database": "VeeamBackup"
|
"Database": "VeeamBackup"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -213,6 +213,17 @@ function Get-InstallerConfiguration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if([string]$Config.SQL.Server -eq "Auto")
|
||||||
|
{
|
||||||
|
if([string]::IsNullOrWhiteSpace($env:COMPUTERNAME))
|
||||||
|
{
|
||||||
|
throw "Der lokale Windows-Hostname konnte nicht ermittelt werden."
|
||||||
|
}
|
||||||
|
|
||||||
|
$Config.SQL.Server = $env:COMPUTERNAME
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$Validation =
|
$Validation =
|
||||||
Test-VeeamConfiguration `
|
Test-VeeamConfiguration `
|
||||||
-Configuration $Config
|
-Configuration $Config
|
||||||
|
|||||||
Reference in New Issue
Block a user