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

Fabiano Fidêncio fidencio at redhat.com
Wed Nov 14 14:49:43 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 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




More information about the Libosinfo mailing list