[PATCH 04/21] examples: xml: Fix 'pool-netfs.xml' example

Peter Krempa pkrempa at redhat.com
Thu Oct 8 07:55:18 UTC 2020


Schema mandates a '<dir>' element, not '<directory>'.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 examples/xml/storage/pool-netfs.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/xml/storage/pool-netfs.xml b/examples/xml/storage/pool-netfs.xml
index d1df2e2b7c..446d4b41bd 100644
--- a/examples/xml/storage/pool-netfs.xml
+++ b/examples/xml/storage/pool-netfs.xml
@@ -2,7 +2,7 @@
   <name>virtimages</name>
   <source>
     <host name="nfs.example.com"/>
-    <directory path="/var/lib/virt/images"/>
+    <dir path="/var/lib/virt/images"/>
   </source>
   <target>
     <path>/var/lib/virt/images</path>
-- 
2.26.2




More information about the libvir-list mailing list