common: downloads can be HTTPS [GH-587]
This commit is contained in:
parent
a4bf15930b
commit
24db112b79
|
@ -7,6 +7,7 @@ FEATURES:
|
||||||
|
|
||||||
IMPROVEMENTS:
|
IMPROVEMENTS:
|
||||||
|
|
||||||
|
* builder/vmware,builder/virtualbox: ISO urls can now be https [GH-587]
|
||||||
* builder/virtualbox: Can now disable guest addition download entirely
|
* builder/virtualbox: Can now disable guest addition download entirely
|
||||||
by setting "guest_additions_mode" to "disable" [GH-580]
|
by setting "guest_additions_mode" to "disable" [GH-580]
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,8 @@ func HashForType(t string) hash.Hash {
|
||||||
func NewDownloadClient(c *DownloadConfig) *DownloadClient {
|
func NewDownloadClient(c *DownloadConfig) *DownloadClient {
|
||||||
if c.DownloaderMap == nil {
|
if c.DownloaderMap == nil {
|
||||||
c.DownloaderMap = map[string]Downloader{
|
c.DownloaderMap = map[string]Downloader{
|
||||||
"http": new(HTTPDownloader),
|
"http": new(HTTPDownloader),
|
||||||
|
"https": new(HTTPDownloader),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue