I'm running a CentOS 7 Virtual machine and it's picking up the DNS nameservers from my Fedora 27 system via DHCP I believe. I am trying to change the DNS nameserver in /etc/resolv.conf
to google name servers. It's different on my fedora 27, when I do that and do systemctl restart network
it goes back to the same nameservers on the fedora 27.
Is there a way to override that?
I believe I have to do something in /etc/sysconfig/network-scripts/
I am connected via ethernet enp0s3
on the vm and of course bridged on virbr0