[CentOS] C7 and /etc/sysconfig/network

Chris Beattie cbeattie at geninfo.com
Wed Aug 26 13:14:22 UTC 2015


On 8/25/2015 11:58 AM, Robert Moskowitz wrote:> Does Centos 7 use /etc/sysconfig/network or is this replaced by some
> systemctl set of commands.

I let Network Manager control the interfaces on my two or three C7 boxes.  I used nmtui to set the hostname, and MAC and IP addresses (the MAC addresses need to be updated if you clone a machine in VMware) interactively.

That's not scriptable, but there is an nmcli command that may help.

-- 
-Chris



More information about the CentOS mailing list