mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-27 09:36:08 +08:00
another one
This commit is contained in:
parent
b4fff48e9b
commit
63c87ade73
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ func NodeUpdate(client mqtt.Client, msg mqtt.Message) {
|
|||
if newNode.DNSOn != "yes" && shouldDNSChange && nodeCfg.Node.Interface != "" {
|
||||
ncutils.Log("settng DNS off")
|
||||
if err := removeHostDNS(ncutils.IsWindows()); err != nil {
|
||||
ncutils.Log("error removing netmaker profile from /etc/hosts " + dataErr.Error())
|
||||
ncutils.Log("error removing netmaker profile from /etc/hosts " + err.Error())
|
||||
}
|
||||
// _, err := ncutils.RunCmd("/usr/bin/resolvectl revert "+nodeCfg.Node.Interface, true)
|
||||
// if err != nil {
|
||||
|
|
Loading…
Reference in a new issue