[fedora-virt] How to make libvirt read /etc/hosts?
Christoph Wickert
christoph.wickert at googlemail.com
Tue Oct 25 17:26:11 UTC 2011
Hi,
I'd like to give my VMs reliable addresses over DHCP and so far I was
only able to do this by defining them in the libvirt's network config
with 'virsh net-edit'. But as libvirt runs dnsmasq and dnsmasq usually
reads /etc/hosts, it should be sufficient to just edit the hosts file.
Unfortunately this doesn't work. Why does dnsmasq ignore /etc/hosts when
started from libvirt?
Regards,
Christoph
More information about the virt
mailing list