mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
added time to prevent UDP reset
This commit is contained in:
@@ -109,9 +109,9 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
|
||||
}
|
||||
|
||||
if ncutils.IsLinux() {
|
||||
_, err := exec.LookPath("resolvconf")
|
||||
_, err := exec.LookPath("resolvectl")
|
||||
if err != nil {
|
||||
ncutils.PrintLog("resolvconf not present", 2)
|
||||
ncutils.PrintLog("resolvectl not present", 2)
|
||||
ncutils.PrintLog("unable to configure DNS automatically, disabling automated DNS management", 2)
|
||||
cfg.Node.DNSOn = "no"
|
||||
}
|
||||
|
Reference in New Issue
Block a user