Disable NetworkManager and added conditionals for el7