My qcow2 image uses local nameserver, 192.168.122.1
which is not working for reasons unknown.
So, I tried to use guestfish and edit the file /etc/resolv.conf
to add nameservers, 8.8.8.8
. This doesnt work as dhclient overwrites it.
I tried other methods, given here. Inside guestfish cli, when i try to vi
edit the files, /etc/network/interfaces
(or) /etc/resolvconf/resolv.conf.d/base
, both the files are missing.
How can i permanently set a working nameserver in /etc/resolv.conf
in the seed image?
Centos image version --- CentOS-7-x86_64-GenericCloud-20140929_01.qcow2