[Pkg-libvirt-discuss] Trying to use libvirt_guest module

Andrea Bolognani eof at kiyuko.org
Mon May 4 21:45:52 BST 2020


On Mon, May 04, 2020 at 09:50:50AM +0200, john doe wrote:
> On 4/2/2020 4:37 PM, john doe wrote:
> > Even on Bullseye, I'm not able to get this module to work:
> >
> > getent hosts try06
> >
> > Fails with error 2.
> >
> > /etc/nsswitch.conf
> > host: libvirt_guest
> >
> >
> > What am I missing?
> 
> Any follow-up on this?

How is networking configured for the guest? I usually use

  <interface type='network'>
    <source network='default'/>
    <model type='virtio'/>
  </interface>

and that works great.

Is the IP address for the guest assigned by dnsmasq? I don't think
the libvirt_guest module can work otherwise.

What are the contents of the files in /var/lib/libvirt/dnsmasq/,
specifically *.macs and *.status? Those are the ones that are used
to map the guest name to its IP address.

-- 
Andrea Bolognani <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-discuss/attachments/20200504/21bff607/attachment.sig>


More information about the Pkg-libvirt-discuss mailing list