[CentOS] resolv.conf rewritten every reboot. How to figure out who and why?
florin at andrei.myip.org
Thu Oct 8 22:54:36 UTC 2009
> [root at lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> # Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
Holy cow, something put every single option in that file.
For static address, the minimum you need is this:
And you can either leave GATEWAY there or put it in /etc/sysconfig/network
I assume it's because of PEERDNS=yes, and you'll have to try to be sure,
but anyway all that junk serves no purpose there (well, arguably you
could put back USERCTL and stuff like that, if you really need it).
More information about the CentOS