mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-27 09:36:08 +08:00
temp code to remove netmaker profiles from /etc/hosts on daemon start
This commit is contained in:
parent
58988706d9
commit
b1a640eb83
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ func Daemon() error {
|
|||
// == initial pull of all networks ==
|
||||
networks, _ := ncutils.GetSystemNetworks()
|
||||
for _, network := range networks {
|
||||
//temporary code --- remove in version v0.13.0
|
||||
removeHostDNS(network, ncutils.IsWindows())
|
||||
// end of code to be removed in version v0.13.0
|
||||
var cfg config.ClientConfig
|
||||
cfg.Network = network
|
||||
cfg.ReadConfig()
|
||||
|
|
Loading…
Reference in a new issue