[Libosinfo] [PATCH 6/7] Add lxc install script injection method

Cédric Bosdonnat cbosdonnat at suse.com
Mon Apr 14 14:09:37 UTC 2014


---
 data/schemas/libosinfo.rng     | 2 +-
 osinfo/osinfo_install_script.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
index 4f4edac..e06b08c 100644
--- a/data/schemas/libosinfo.rng
+++ b/data/schemas/libosinfo.rng
@@ -777,7 +777,7 @@
   <define name='injection-method'>
     <element name='injection-method'>
       <data type="string">
-        <param name="pattern">cdrom|disk|floppy|initrd|web</param>
+        <param name="pattern">cdrom|disk|floppy|initrd|web|lxc</param>
       </data>
     </element>
   </define>
diff --git a/osinfo/osinfo_install_script.h b/osinfo/osinfo_install_script.h
index d328a96..b0fc217 100644
--- a/osinfo/osinfo_install_script.h
+++ b/osinfo/osinfo_install_script.h
@@ -134,6 +134,7 @@ typedef enum {
     OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY = 1 << 2,
     OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD = 1 << 3,
     OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB    = 1 << 4,
+    OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_LXC    = 1 << 5,
 } OsinfoInstallScriptInjectionMethod;
 
 GType osinfo_install_script_get_type(void);
-- 
1.8.4.5




More information about the Libosinfo mailing list