[CentOS] C7 and /etc/sysconfig/network

Robert Moskowitz

rgm at htt-consult.com
Tue Aug 25 15:58:56 UTC 2015


Does Centos 7 use /etc/sysconfig/network or is this replaced by some 
systemctl set of commands.

For example I know to set my host name with:

hostnamectl set-hostname nevia.htt-consult.com

But I don't know if this is the same as

cat <<EOF>/etc/sysconfig/network || exit 1
NETWORKING=yes
HOSTNAME=nevia.htt-consult.com
EOF





More information about the CentOS mailing list