Merge pull request #5747 from afbjorklund/vmware-vmrun

Make sure to look for vmrun, for vmware
pull/5748/head
Thomas Strömberg 2019-10-26 10:33:54 -07:00 committed by GitHub
commit f4c2e4bbc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -57,5 +57,9 @@ func status() registry.State {
if err != nil {
return registry.State{Error: err, Fix: "Install docker-machine-driver-vmware", Doc: "https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/"}
}
_, err := exec.LookPath("vmrun")
if err != nil {
return registry.State{Error: err, Fix: "Install vmrun", Doc: "https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/"}
}
return registry.State{Installed: true, Healthy: true}
}