-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parallels: minikube mount
: attempted to get host ip address for unsupported driver
#4862
Comments
How to get the host IP is unfortunately not covered by libmachine API at the moment... There is a workaround in minikube, but it needs driver-specific code in order to do it: pkg/minikube/cluster/cluster.go#GetVMHostIP So it needs an entry for parallels, how to find it ? If you know the command, then please add it here. |
@afbjorklund It seems like the command might not work properly, and that the reliable way to do it is to install Parallels Tools inside the VM first then remotely execute Actually it seems like the libmachine API might support getting the host IP now: Driver.GetIP
Do you think that it would work to use |
As long as you get the host IP and not just the machine IP, it should be fine. For instance, for the default VirtualBox the machine IP starts at 192.168.99.100 https://www.virtualbox.org/manual/ch06.html#networkingmodes
|
This sounds reasonable. PR's welcome! |
minikube mount
support for Parallelsminikube mount
: attempted to get host ip address for unsupported driver
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This would require adding parallels support to pkg/minikube/cluster/cluster.go#GetVMHostIP - probably a 1-line fix at most. Help wanted! |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Help still wanted! /remove-lifecycle rotten |
Hi all, |
Running
minikube mount
with the parallels driver gives this error message:According to the docs, this is preferred over relying on driver-specific mounting.
It's an issue for me right now because I can't figure out how to get share folders enabled through the Parallels UI to show up on the Minikube VM.
The text was updated successfully, but these errors were encountered: