Merge pull request #6545 from iamseth/fix/windows_salt_bootstrap_url
Fixing the Salt bootstrap script for Windows
This commit is contained in:
commit
9e8b19b2b3
|
@ -51,7 +51,7 @@ If ([IntPtr]::Size -eq 4) {
|
||||||
# Download minion setup file
|
# Download minion setup file
|
||||||
Write-Host "Downloading Salt minion installer Salt-Minion-$version-$arch-Setup.exe"
|
Write-Host "Downloading Salt minion installer Salt-Minion-$version-$arch-Setup.exe"
|
||||||
$webclient = New-Object System.Net.WebClient
|
$webclient = New-Object System.Net.WebClient
|
||||||
$url = "https://docs.saltstack.com/downloads/Salt-Minion-$version-$arch-Setup.exe"
|
$url = "https://repo.saltstack.com/windows/Salt-Minion-$version-$arch-Setup.exe"
|
||||||
$file = "C:\tmp\salt.exe"
|
$file = "C:\tmp\salt.exe"
|
||||||
$webclient.DownloadFile($url, $file)
|
$webclient.DownloadFile($url, $file)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue