mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +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
|
dflt := hyperkitNetworkingDefault
|
||||||
networking = &dflt
|
networking = &dflt
|
||||||
}
|
}
|
||||||
netMode := strings.SplitN(*networking, ",", 2)
|
netMode := strings.SplitN(*networking, ",", 3)
|
||||||
switch netMode[0] {
|
switch netMode[0] {
|
||||||
case hyperkitNetworkingDockerForMac:
|
case hyperkitNetworkingDockerForMac:
|
||||||
h.VPNKitSock = filepath.Join(os.Getenv("HOME"), "Library/Containers/com.docker.docker/Data/s50")
|
h.VPNKitSock = filepath.Join(os.Getenv("HOME"), "Library/Containers/com.docker.docker/Data/s50")
|
||||||
|
Loading…
Reference in New Issue
Block a user