mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
Setting the default network interface for dev mode only in Linux and Darwin
This commit is contained in:
@@ -226,7 +226,7 @@ func DevConfig() *Config {
|
||||
conf.DisableAnonymousSignature = true
|
||||
if runtime.GOOS == "darwin" {
|
||||
conf.Client.NetworkInterface = "lo0"
|
||||
} else {
|
||||
} else if runtime.GOOS == "linux" {
|
||||
conf.Client.NetworkInterface = "lo"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user