Restarting network overwrites /etc/resolv.conf

ARUN Posted in NETWORK
0

Solution :

Open the below file and add  NM_CONTROLLED=no to the bottom

vi /etc/sysconfig/network-scripts/ifcfg-eth0

NM_CONTROLLED=no