[CentOS] Disabling network service in CentOS 7

James Hogarth james.hogarth at gmail.com
Tue Apr 5 19:18:38 UTC 2016


On 5 Apr 2016 20:11, "Joe Smithian" <joe.smithian at gmail.com> wrote:
>
> Hi all,
> I've recently started using NetworkManger service and nmcli tool, I like
it
> much better than the old network service and manually modifying network
> scripts. I've seen many online questions on how to disable NetworkManger
> but I have the opposite question! I am wondering if it be OK to disable
> network service altogether and just use NetworkManger for configuring and
> managing Ethernet interfaces. I care about wired Ethernet interfaces only.
>
> I disabled network service and rebooted my machine without any networking
> problem but I wanted to conform that that would be OK.
>

If you are making use of NetworkManager then there's nothing network does
that would require it still being enabled.

It's perfectly safe to systemctl disable|mask network.service

(Note pay attention that you disable service and not target!)



More information about the CentOS mailing list