mirror of
https://github.com/rancher/os.git
synced 2025-09-12 21:23:13 +00:00
Add explicit wait to dhcp
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -351,6 +351,7 @@ ff02::2 ip6-allrouters
|
||||
127.0.1.1 `+hostname)
|
||||
|
||||
if len(cfg.DNSConfig.Nameservers) != 0 {
|
||||
log.Infof("Writing resolv.conf (%v) %v", cfg.DNSConfig.Nameservers, cfg.DNSConfig.Search)
|
||||
if _, err := resolvconf.Build("/etc/resolv.conf", cfg.DNSConfig.Nameservers, cfg.DNSConfig.Search, nil); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user