common: downloads can be HTTPS [GH-587]

This commit is contained in:
Mitchell Hashimoto 2013-11-02 22:10:48 -05:00
parent a4bf15930b
commit 24db112b79
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@ FEATURES:
IMPROVEMENTS:
* builder/vmware,builder/virtualbox: ISO urls can now be https [GH-587]
* builder/virtualbox: Can now disable guest addition download entirely
by setting "guest_additions_mode" to "disable" [GH-580]

View File

@ -73,7 +73,8 @@ func HashForType(t string) hash.Hash {
func NewDownloadClient(c *DownloadConfig) *DownloadClient {
if c.DownloaderMap == nil {
c.DownloaderMap = map[string]Downloader{
"http": new(HTTPDownloader),
"http": new(HTTPDownloader),
"https": new(HTTPDownloader),
}
}