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

john doe johndoe65534 at mail.com
Tue May 5 07:28:34 BST 2020


On 5/4/2020 10:45 PM, Andrea Bolognani wrote:
> 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>
>

Indeed, it works by using the above (1).

To install with virt-install:

$ virt-install --name=try06 --pxe --os-variant=debian10 --network
network=default

Many thanks for the help in here.

1)  https://www.redhat.com/archives/libvirt-users/2020-May/msg00003.html

--
John Doe



More information about the Pkg-libvirt-discuss mailing list