[Fedora-spins] [spin-kickstarts] cloud-base: Document how to use ImageFactory locally

Colin Walters walters at fedoraproject.org
Wed Apr 22 21:41:24 UTC 2015


commit e371dd6c3cbd2edcc122a8c855131ff9903b522d
Author: Colin Walters <walters at verbum.org>
Date:   Wed Apr 22 16:46:43 2015 -0400

    cloud-base: Document how to use ImageFactory locally

 fedora-cloud-base.ks |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks
index 66fd004..ae0ba52 100644
--- a/fedora-cloud-base.ks
+++ b/fedora-cloud-base.ks
@@ -7,9 +7,22 @@
 # Note that unlike the standard F20 install, this image has /tmp on disk
 # rather than in tmpfs, since memory is usually at a premium.
 #
-# This kickstart file is designed to be used with appliance-creator and
-# may need slight modification for use with actual anaconda or other tools.
-# We intend to target anaconda-in-a-vm style image building for F20.
+# This kickstart file is designed to be used with ImageFactory (in Koji).
+#
+# To do a local build, you'll need to install ImageFactory.  See
+# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
+#
+# For a TDL file, I store one here:
+# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
+# (Koji generates one internally...what we really want is Koji to publish it statically)
+# 
+# Once you have imagefactory and imagefactory-plugins installed, run:
+# 
+#   curl -O https://git.fedorahosted.org/cgit/fedora-atomic.git/plain/fedora-atomic-rawhide.tdl 
+#   tempfile=$(mktemp --suffix=.ks)
+#   ksflatten -v F22 fedora-cloud-base.ks > ${tempfile}
+#   imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
+#
 
 cmdline
 lang en_US.UTF-8


More information about the spins mailing list