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

Fabiano Fidêncio fidencio at redhat.com
Fri Nov 23 10:54:36 UTC 2018


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 at redhat.com>
---
 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 0290eeb..81a3cae 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -496,6 +496,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




More information about the Libosinfo mailing list