mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
22f7ceb695
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 in DHCP transactions at all. In cases like that it would be helpful if we translate domain name as seen by libvirt too so that users can: # virsh start $dom && ssh $dom In order to achieve that new libvirt-guest module is introduced, while older libvirt module maintains its current behaviour (that is translating guest provided names into IP addresses). Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
13 lines
222 B
Plaintext
13 lines
222 B
Plaintext
#
|
|
# Officially exported symbols.
|
|
#
|
|
|
|
{
|
|
global:
|
|
_nss_libvirt_guest_gethostbyname_r;
|
|
_nss_libvirt_guest_gethostbyname2_r;
|
|
_nss_libvirt_guest_gethostbyname3_r;
|
|
_nss_libvirt_guest_gethostbyname4_r;
|
|
local: *;
|
|
};
|