mirror of https://github.com/docker/docs.git
Merge pull request #1382 from nathanleclaire/enable_fusion_upgrade
Remove upgrade restriction on VMware providers
This commit is contained in:
commit
88a2ac1511
|
@ -2,7 +2,6 @@ package provision
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"path"
|
||||
"text/template"
|
||||
|
@ -50,11 +49,6 @@ func (provisioner *Boot2DockerProvisioner) Service(name string, action pkgaction
|
|||
}
|
||||
|
||||
func (provisioner *Boot2DockerProvisioner) upgradeIso() error {
|
||||
switch provisioner.Driver.DriverName() {
|
||||
case "vmwarefusion", "vmwarevsphere":
|
||||
return errors.New("Upgrade functionality is currently not supported for these providers, as they use a custom ISO.")
|
||||
}
|
||||
|
||||
log.Info("Stopping machine to do the upgrade...")
|
||||
|
||||
if err := provisioner.Driver.Stop(); err != nil {
|
||||
|
|
Loading…
Reference in New Issue