added functionality to remove NetworkManager from running and enforce the /etc/resolv.conf file