[libvirt] [PATCH] network: write both lo and lo0 in dnsmasq configuration

Martin Kletzander mkletzan at redhat.com
Tue Dec 6 08:41:44 UTC 2016


On Thu, Dec 01, 2016 at 01:47:57PM +0100, Pino Toscano wrote:
>When generating a new configuration for dnsmasq, add except-interface
>for both lo and lo0: this should make sure the configuration works,
>and is always the same for every supported OS.
>
>Adjust the data of networkxml2conftest to reflect the new dnsmasq
>configuration, making networkxml2conftest pass on non-Linux OSes.
>

Just so I know the reasoning behind this.  Is this only because of the
test suite failing?  Or are we trying to fix some problem with it?
Can't we get the interface name programmatically and then use that
value?  Not that I'd be running around adding bridges with name == "lo0"
in libvirt's networks, but still...  It would feel cleaner.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161206/4312e4e9/attachment-0001.sig>


More information about the libvir-list mailing list