[osinfo-db PATCH v3 02/10] schema: Add cloud-init attribute to images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As images may or may support cloud init customization, let's have an
optional attribute to the image element that specifies it.

It's similar to the "live" attribute we have for ISOs.

https://gitlab.com/libosinfo/osinfo-db/issues/10

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 data/schema/osinfo.rng.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
index cc06dcf..452207c 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -481,6 +481,11 @@
       <attribute name='format'>
         <ref name='imageformats'/>
       </attribute>
+      <optional>
+        <attribute name='cloud-init'>
+          <ref name='bool'/>
+        </attribute>
+      </optional>
       <interleave>
         <optional>
           <element name='variant'>
-- 
2.19.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux