Merge pull request #7534 from hashicorp/b-windows-dev-network
windows: support -dev mode
This commit is contained in:
commit
7df337e4c4
|
@ -743,6 +743,11 @@ func newDevModeConfig(devMode, connectMode bool) (*devModeConfig, error) {
|
|||
}
|
||||
|
||||
func (mode *devModeConfig) networkConfig() error {
|
||||
if runtime.GOOS == "windows" {
|
||||
mode.bindAddr = "127.0.0.1"
|
||||
mode.iface = "Loopback Pseudo-Interface 1"
|
||||
return nil
|
||||
}
|
||||
if runtime.GOOS == "darwin" {
|
||||
mode.bindAddr = "127.0.0.1"
|
||||
mode.iface = "lo0"
|
||||
|
|
Loading…
Reference in a new issue