]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Fix libvirt_guest nss module name
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Jan 2017 10:41:11 +0000 (11:41 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 13 Jan 2017 10:41:11 +0000 (11:41 +0100)
In the documentation we are mixing libvirt-guest and
libvirt_guest module name. The correct name is the latter.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/news.xml
docs/nss.html.in

index 8a876e998f20841c1ee20a9552a2ee2225992c61..50c3b3ea2fb822b95c0d245f3dfb95be03a7495b 100644 (file)
       </change>
       <change>
         <summary>
-          nss: Introduce <code>libvirt-guest</code>
+          nss: Introduce <code>libvirt_guest</code>
         </summary>
         <description>
-          New <code>libvirt-guest</code> nss module that translates libvirt
+          New <code>libvirt_guest</code> nss module that translates libvirt
           guest names into IP addresses.
         </description>
       </change>
index e07f9b774f99b2eac0f9c494d8868c6d1e27a330..2a5a46cd1660733dabe6e75e44e99d4c6d33f35f 100644 (file)
@@ -72,34 +72,34 @@ hosts:       files libvirt dns
     records. Therefore this is dependent on hostname provided by guests. Thing
     is, not all the guests out there provide one in DHCP transactions, or not
     every sysadmin out there believes all the guests. Hence libvirt implements
-    second method in <code>libvirt-guest</code> module which does libvirt guest
+    second method in <code>libvirt_guest</code> module which does libvirt guest
     name to IP address translation (regardless of hostname set in the guest).
     </p>
 
     <p>
     To enable either of the modules put their name into the
     <code>nsswitch.conf</code> file. For instance, to enable
-    <code>libvirt-guest</code> module:
+    <code>libvirt_guest</code> module:
     </p>
 
 <pre>
 $ cat /etc/nsswitch.conf
 # /etc/nsswitch.conf:
-hosts:       files libvirt-guest dns
+hosts:       files libvirt_guest dns
 # ...
 </pre>
     <p>Or users can enable both at the same time:</p>
 <pre>
 $ cat /etc/nsswitch.conf
 # /etc/nsswitch.conf:
-hosts:       files libvirt libvirt-guest dns
+hosts:       files libvirt libvirt_guest dns
 # ...
 </pre>
 
     <p>
     This configuration will mean that if hostname is not found by the
     <code>libvirt</code> module (e.g. because a guest did not sent hostname
-    during DHCP transaction), the <code>libvirt-guest</code> module is
+    during DHCP transaction), the <code>libvirt_guest</code> module is
     consulted (and if the hostname matches libvirt guest name it will be
     resolved).
     </p>
@@ -181,7 +181,7 @@ virsh domifaddr --source lease $domain
     <p>
     If there's no record for either of the aforementioned commands, it's
     very likely that NSS module won't find anything and vice versa.
-    As of <code>v3.0.0</code> libvirt provides <code>libvirt-guest</code> NSS
+    As of <code>v3.0.0</code> libvirt provides <code>libvirt_guest</code> NSS
     module that doesn't have this limitation. However, the statement is still
     true for the <code>libvirt</code> NSS module.
     </p>