summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2012-05-31 11:11:37 +0800
committerGui Chen <gui.chen@intel.com>2012-05-31 11:19:45 +0800
commitbee3402b7fcdf43b90a1a269a7616a47a796672c (patch)
tree4dee390df2b76810b53483446eacf5a4f3115e16
parent8cfd358a35d1e1a5e00f4970cf6a221ede115854 (diff)
downloadkickstarter-bee3402b7fcdf43b90a1a269a7616a47a796672c.tar.gz
kickstarter-bee3402b7fcdf43b90a1a269a7616a47a796672c.tar.bz2
kickstarter-bee3402b7fcdf43b90a1a269a7616a47a796672c.zip
add '%attachment' section for mic container
Signed-off-by: Gui Chen <gui.chen@intel.com>
-rw-r--r--demo/configurations.yaml3
-rw-r--r--kickstart/kickstart.tmpl8
2 files changed, 11 insertions, 0 deletions
diff --git a/demo/configurations.yaml b/demo/configurations.yaml
index aae0215..b7d91ed 100644
--- a/demo/configurations.yaml
+++ b/demo/configurations.yaml
@@ -230,3 +230,6 @@ Configurations:
- serial-mfld
PrePackages:
- Answer2theUltimateQuestionOfEverything
+ Attachment:
+ - ifwi
+ - /boot/vmlinuz-*
diff --git a/kickstart/kickstart.tmpl b/kickstart/kickstart.tmpl
index 2bed6aa..2cfb83c 100644
--- a/kickstart/kickstart.tmpl
+++ b/kickstart/kickstart.tmpl
@@ -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