diff --git a/plugins/provisioners/salt/bootstrap_downloader.rb b/plugins/provisioners/salt/bootstrap_downloader.rb index bd4b25181..8c0abd036 100644 --- a/plugins/provisioners/salt/bootstrap_downloader.rb +++ b/plugins/provisioners/salt/bootstrap_downloader.rb @@ -8,9 +8,9 @@ require_relative "./errors" module VagrantPlugins module Salt class BootstrapDownloader - WINDOWS_URL = "https://winbootstrap.saltproject.io" - URL = "https://bootstrap.saltproject.io" - SHA256_SUFFIX = "sha256" + WINDOWS_URL = "https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1" + URL = "https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh" + SHA256_SUFFIX = ".sha256" def initialize(guest) @guest = guest @@ -32,8 +32,8 @@ module VagrantPlugins end def verify_sha256(script) - @logger.debug "Downloading sha256 file from #{source_url}/#{SHA256_SUFFIX}" - sha256_file = download("#{source_url}/#{SHA256_SUFFIX}") + @logger.debug "Downloading sha256 file from #{source_url}#{SHA256_SUFFIX}" + sha256_file = download("#{source_url}#{SHA256_SUFFIX}") sha256 = extract_sha256(sha256_file.read) sha256_file.close