vim /etc/sysconfig/network-scripts/ifcfg-XXXX 修改:onboot=yes #网络自启动 转载于:https://my.oschina.net/singyen/blog/1504810