Merge pull request #1382 from nathanleclaire/enable_fusion_upgrade

Remove upgrade restriction on VMware providers
This commit is contained in:
Evan Hazlett 2015-06-18 13:41:28 -04:00
commit 88a2ac1511
1 changed files with 0 additions and 6 deletions

View File

@ -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 {