Can't avoid installing NetworkManager through kickstart on RHEL7
Hi,
I referred to the solution from https://access.redhat.com/solutions/102823. adding "-NetworkManager" does not work. What would make it skip installing NetworkManager during installation through kickstart method? Any help is appreciated.
Regards,
Responses
This has been discussed a few times on the forum. However, I do not know if we really came to any concrete conclusion.
https://access.redhat.com/discussions/644133
I believe that the consensus was that it was necessary, even it seemed as though it was not
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-NetworkManager_and_the_Network_Scripts.html
"Although NetworkManager provides the default networking service,"
https://fedoraproject.org/wiki/Anaconda/Network
"Anaconda is communicating with NetworkManager mostly with ifcfg files " -- It is inconclusive if that means that NM has to be there, or not.
Hello
Note that the solution linked to in the OP is tagged as RHEL5 and 6, not 7. Note also that the developers have made many improvements to NetworkManager for RHEL7 to make it less intrusive.
I know almost nothing about Anaconda, but in RHEL7 I was told there is a kick start file command:
services --disabled=NetworkManager --enabled=network
which does:
systemctl disable NetworkManager
systemctl enable network
That would not prevent it being restarted over D-Bus, for that you would need:
systemctl mask NetworkManager
I believe that in scripts you should add the ".service"
We are using NetworkManager in our RHEL 7 installs, though they are just being rolled out and so are not yet a "larger setting". It is much improved over the RHEL6 version (read: usable). The biggest issue I have is around static configurations with backend interfaces. By default, if the interface with the default route is brought down, the default route is moved to another interface (a backend in this case). To avoid this, you must be sure to set ipv4.never-default "yes" (ugh, double negative) or DEFROUTE=no in the ifcfg on all backend interfaces. I have a support request to be able to modify the default behavior instead.
Otherwise the experience has been good. Admins can continue to edit the ifcfgs (once created), so the learning curve is low.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
