最小化安装CentOS 7.2.1511后,发现network启动打印不能加载ifcfg-lo文件的信息:

1
2
3
4
systemctl status -l network
...
 Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
...

修改/etc/sysconfig/network-scripts/ifcfg-lo,追加如下一行

1
TYPE=LOOPBACK

重启network.service,问题解决

1
systemctl restart network.service