mirror of
https://github.com/docker/docs.git
synced 2026-03-29 23:38:56 +07:00
Refactor DownloadLatestBoot2Docker to make it usable by RancherOS
Signed-off-by: Darren Shepherd <darren@rancher.com>
This commit is contained in:
@@ -167,6 +167,10 @@ func (b *B2dUtils) DownloadLatestBoot2Docker() error {
|
||||
return err
|
||||
}
|
||||
|
||||
return b.DownloadBoot2Docker(latestReleaseUrl)
|
||||
}
|
||||
|
||||
func (b *B2dUtils) DownloadBoot2Docker(latestReleaseUrl string) error {
|
||||
log.Infof("Downloading latest boot2docker release to %s...", b.commonIsoPath)
|
||||
if err := b.DownloadISO(b.imgCachePath, b.isoFilename, latestReleaseUrl); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user