OpenNetworkLinux
OpenNetworkLinux copied to clipboard
dhcp problem
the network dhcp was configed by NETAUTO=dhcp, and the ip is ok but the /etc/resolv.conf file is nothing. there is other ways to resolved it.
I know this is an old issue, but I am also having this issue in ONL8 -- nameservers from the chain loader are not applied to the main OS. A work around is to run dhclient on the management interface, however I am not sure whether or not this is persistent. I have made it 'persistent' by providing an init script that runs dhclient -- however init scripts don't "support" one shot services like systemd does so the service is constantly shown as running.
A better understanding of how the chain loader (with udhcp?) applies DHCP settings to the main OS would be useful. /var/lib/dhcp/dhclient.leases is empty