mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Merge pull request #2782 from ijc/hyperkit-net-fix
hyperkit: split network option into 3
This commit is contained in:
commit
9a83407986
@ -219,7 +219,7 @@ func runHyperKit(args []string) {
|
||||
dflt := hyperkitNetworkingDefault
|
||||
networking = &dflt
|
||||
}
|
||||
netMode := strings.SplitN(*networking, ",", 2)
|
||||
netMode := strings.SplitN(*networking, ",", 3)
|
||||
switch netMode[0] {
|
||||
case hyperkitNetworkingDockerForMac:
|
||||
h.VPNKitSock = filepath.Join(os.Getenv("HOME"), "Library/Containers/com.docker.docker/Data/s50")
|
||||
|
Loading…
Reference in New Issue
Block a user