Skip to content

Commit 067ead1

Browse files
committed
Do not require "parallels" driver binary since it's built-in to minikube
1 parent 5d6ad54 commit 067ead1

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
lines changed

pkg/minikube/registry/drvs/parallels/parallels.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ func configure(cfg config.ClusterConfig, n config.Node) (interface{}, error) {
5555
}
5656

5757
func status() registry.State {
58-
_, err := exec.LookPath("docker-machine-driver-parallels")
58+
_, err := exec.LookPath("prlctl")
5959
if err != nil {
60-
return registry.State{Error: err, Fix: "Install docker-machine-driver-parallels", Doc: "https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/"}
60+
return registry.State{Error: err, Fix: "Install Parallels Desktop for Mac", Doc: "https://minikube.sigs.k8s.io/docs/drivers/parallels/"}
6161
}
62-
return registry.State{Installed: true, Healthy: true, Running: true}
62+
return registry.State{Installed: true, Healthy: true}
6363
}

site/content/en/docs/drivers/includes/parallels_usage.inc

-18
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,6 @@
22

33
* Parallels Desktop 11.0.0+ Pro or Business edition
44

5-
## Driver Installation
6-
7-
If the [Brew Package Manager](https://brew.sh/) is installed, run:
8-
9-
```shell
10-
brew install docker-machine-parallels
11-
```
12-
13-
Otherwise:
14-
15-
```shell
16-
latest=$(curl -s https://api.github.com/repos/Parallels/docker-machine-parallels/releases/latest \
17-
| grep -o 'http.*docker-machine-driver-parallels' | head -n1)
18-
curl -LO $latest
19-
install docker-machine-driver-parallels /usr/local/bin/
20-
```
21-
22-
235
## Usage
246

257
Start a cluster using the parallels driver:

site/content/en/docs/drivers/parallels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ aliases:
77

88
## Overview
99

10-
The Parallels driver is particularly useful for users who own Parallels Desktop, as it does not require VT-x hardware support.
10+
The Parallels driver is particularly useful for users who own Parallels Desktop for Mac, as it does not require VT-x hardware support.
1111

1212
{{% readfile file="/docs/drivers/includes/parallels_usage.inc" %}}
1313

0 commit comments

Comments
 (0)