Commit 4152dfd9 by Heechul Kim

centos network service enable

parent a7bcd0ba
...@@ -49,6 +49,9 @@ $ROOTCMD systemctl enable ntpd ntpdate ...@@ -49,6 +49,9 @@ $ROOTCMD systemctl enable ntpd ntpdate
# mask NetworkManager - Never run NetworkManager on the server. # mask NetworkManager - Never run NetworkManager on the server.
$ROOTCMD systemctl mask NetworkManager $ROOTCMD systemctl mask NetworkManager
# enable network.service
$ROOTCMD systemctl enable network.service
fcopy -iv /etc/sysconfig/network /etc/resolv.conf /etc/networks fcopy -iv /etc/sysconfig/network /etc/resolv.conf /etc/networks
fcopy -ivr /etc/sysconfig/network-scripts fcopy -ivr /etc/sysconfig/network-scripts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment