]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: fix broken UUID example
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Jan 2026 17:35:39 +0000 (17:35 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 6 Jan 2026 10:58:23 +0000 (10:58 +0000)
The UUID had only 11 characters in the last component, instead of the
required 12. Add the missing trailing '2' which is present in all the
other matching example UUIDs.

Reviewed-by: Arun Menon <armenon@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/formatsecret.rst

index d4e0cb9ddb3745f4f829d96b7697cb8ef89625d8..1b1c64bdc4c444a8d1f8c63f5058a437d91cca94 100644 (file)
@@ -73,14 +73,14 @@ passphrase to decrypt the volume, :since:`since 2.1.0`. An example follows:
    # cat luks-secret.xml
    <secret ephemeral='no' private='yes'>
       <description>LUKS Sample Secret</description>
-      <uuid>f52a81b2-424e-490c-823d-6bd4235bc57</uuid>
+      <uuid>f52a81b2-424e-490c-823d-6bd4235bc572</uuid>
       <usage type='volume'>
          <volume>/var/lib/libvirt/images/luks-sample.img</volume>
       </usage>
    </secret>
 
    # virsh secret-define luks-secret.xml
-   Secret f52a81b2-424e-490c-823d-6bd4235bc57 created
+   Secret f52a81b2-424e-490c-823d-6bd4235bc572 created
 
 See `Setting secret values in virsh`_ on how to set the value of the secret
 using ``virsh secret-set-value``.
@@ -91,7 +91,7 @@ The volume type secret can be supplied in domain XML for a luks storage volume
 ::
 
    <encryption format='luks'>
-     <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc57'/>
+     <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
    </encryption>
 
 Usage type "ceph"