Set hostname of guest during installation time

Andrea Bolognani abologna at redhat.com
Mon Mar 30 11:20:41 UTC 2020


On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote:
> On 27. 3. 2020 20:49, john doe wrote:
> > If my understanding is correct, using 'try06' or 'debian' should do the
> > same thing?
> 
> Yes, that is the idea. However, these plugins were not introduced at the
> same time. I think that especially Debian has delayed libvirt_guest
> plugin. You can check if both plugins exist:
> 
> ls /usr/lib64/libnss_libvirt*
> 
> /usr/lib64/libnss_libvirt_guest.so.2
> /usr/lib64/libnss_libvirt.so.2

Note that paths are different in Debian-based distros, so the correct
ones in this case are actually

  /lib/x86_64-linux-gnu/libnss_libvirt.so.2
  /lib/x86_64-linux-gnu/libnss_libvirt_guest.so.2

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvirt-users mailing list