add '%attachment' section for mic container
authorGui Chen <gui.chen@intel.com>
Thu, 31 May 2012 03:11:37 +0000 (11:11 +0800)
committerGui Chen <gui.chen@intel.com>
Thu, 31 May 2012 03:19:45 +0000 (11:19 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
demo/configurations.yaml
kickstart/kickstart.tmpl

index aae0215..b7d91ed 100644 (file)
@@ -230,3 +230,6 @@ Configurations:
             - serial-mfld
         PrePackages:
             - Answer2theUltimateQuestionOfEverything
+        Attachment:
+            - ifwi
+            - /boot/vmlinuz-*
index 2bed6aa..2cfb83c 100644 (file)
@@ -99,6 +99,14 @@ ${e}
 %end
 #end if
 
+#if $metadata.has_key("Attachment")
+%attachment
+#for $e in $metadata.Attachment
+${e}
+#end for
+%end
+#end if
+
 %post
 ${metadata.Post}
 %end