Re: libvirt/dnsmasq is not adhering to static DHCP assignments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/31/2017 06:27 AM, Dagmawi Biru wrote:
> Hi,
> 
> It looks like that's the issue:
> # cat /var/lib/libvirt/dnsmasq/osc_mgmt.hostsfile
> 52:54:00:2c:85:92,192.168.80.1,openstack-controller-00
> 
> But it makes me wonder...libvirt should be generating and managing this
> file right? Do I need to edit this myself or should libvirt be updating
> this file? If so then why isn't it?
> 

Have you restarted the libvirt network after you've edited it?
virsh net-destroy osc_mgmt
virsh net-start osc_mgmt

The hostsfile is generated when network is started. It's the same as
editing domain XML while it is running. Changes get applied on next start.

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux