It gave an error while installing cPanel on CentOS 7. The explanation on the cPanel site for the solution is as follows.
I used the following 2 commands and it didn’t give a Network Manager error.
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
It might give an error if you reboot afterwards. I proceeded directly with the cPanel installation and rebooted when the installation finished, and there were no issues.