RHEL-resolv.conf文件修改后重启被还原
修改resolve.conf文件之后,reboot或service restart network时,修改的内容被还原。
关闭NetworkManager即可。
# chkconfig |grep NetworkManager
# chkconfig NetworkManager off-----禁止开机启动
# service NetworkManager stop
# service network restart
#service dhcpd stop
*******VICTORY LOVES PREPARATION*******