support github enterprise urls for b2d downloads
This commit allows downloading boot2docker releases not only from the official releases url (https://api.github.com/repos/boot2docker/boot2docker/releases) but from arbitrary github repositories that publish releases with a boot2docker.iso artifact. It also supports downloading from github enterprise. Signed-off-by: Fabian Ruff <fabian@progra.de>
This commit is contained in:
@@ -149,7 +149,7 @@ func (d *Driver) Create() error {
|
||||
|
||||
d.setMachineNameIfNotSet()
|
||||
|
||||
b2dutils := mcnutils.NewB2dUtils("", "", d.StorePath)
|
||||
b2dutils := mcnutils.NewB2dUtils(d.StorePath)
|
||||
if err := b2dutils.CopyIsoToMachineDir(d.boot2DockerURL, d.MachineName); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user