Re: [libvirt] [PATCH v2 10/10] nss: Introduce libvirt-guest module

2017-01-13 Thread Michal Privoznik
On 01/13/2017 11:27 AM, Andrea Bolognani wrote: > On Mon, 2016-12-05 at 11:31 +0100, Michal Privoznik wrote: > [...] >> + >> +$ cat /etc/nsswitch.conf >> +# /etc/nsswitch.conf: >> +hosts: files libvirt-guest dns >> +# ... >> + >> +Or users can enable both at the same time: >> + >> +$ cat

Re: [libvirt] [PATCH v2 10/10] nss: Introduce libvirt-guest module

2017-01-13 Thread Andrea Bolognani
On Mon, 2016-12-05 at 11:31 +0100, Michal Privoznik wrote: [...] > + > +$ cat /etc/nsswitch.conf > +# /etc/nsswitch.conf: > +hosts:   files libvirt-guest dns > +# ... > + > +Or users can enable both at the same time: > + > +$ cat /etc/nsswitch.conf > +# /etc/nsswitch.conf: > +hosts:   

Re: [libvirt] [PATCH v2 10/10] nss: Introduce libvirt-guest module

2016-12-06 Thread Michal Privoznik
On 05.12.2016 17:25, Martin Kletzander wrote: > On Mon, Dec 05, 2016 at 11:31:56AM +0100, Michal Privoznik wrote: >> So far the NSS module looks up only hostnames as provided by >> guests themselves. However, there are some cases where this is >> not enough: e.g. when there's a fresh new guest

Re: [libvirt] [PATCH v2 10/10] nss: Introduce libvirt-guest module

2016-12-05 Thread Martin Kletzander
On Mon, Dec 05, 2016 at 11:31:56AM +0100, Michal Privoznik wrote: So far the NSS module looks up only hostnames as provided by guests themselves. However, there are some cases where this is not enough: e.g. when there's a fresh new guest being installed (with some generic hostname) say from a

[libvirt] [PATCH v2 10/10] nss: Introduce libvirt-guest module

2016-12-05 Thread Michal Privoznik
So far the NSS module looks up only hostnames as provided by guests themselves. However, there are some cases where this is not enough: e.g. when there's a fresh new guest being installed (with some generic hostname) say from a live ISO image; or some (older) systems don't advertise their hostname