commit | 6ee6f9976dde609a6dffc0e14270d74050786c3d | [log] [tgz] |
---|---|---|
author | Jakub Josef <jakub.josef@gmail.com> | Fri Jan 27 16:16:04 2017 +0100 |
committer | Jakub Josef <jakub.josef@gmail.com> | Tue Feb 14 15:54:13 2017 +0100 |
tree | c1855466548d537094b86f0d2a243a82b1a5ec0a | |
parent | 0b8aa00c1c625b7e335d86337ea811b7a1f9b61d [diff] |
Add Jenkins file for pipeline testing Change-Id: Iff703121d77e09b2b7ade81d092a1b3f60f05209
Packer templates are used to:
PACKER_URL="https://dl.bintray.com/mitchellh/packer/packer_0.8.2_linux_amd64.zip" PACKER_ZIP=$(basename ${PACKER_URL}) PACKER_ZIP_MD5="bc37abe5e183a11bd8c1b2efc385059b" mkdir -p ~/bin/packer cd ~/bin/packer export PATH="${PATH}:~/bin/packer" wget -O ${PACKER_ZIP} ${PACKER_URL} echo "${PACKER_ZIP_MD5} ${PACKER_ZIP}" >> md5sum md5sum -c --status md5sum unzip ${PACKER_ZIP}
Enter build directory by selecting OS type and version. You should see file template.json.
Start building some images:
packer build -only=virtualbox-iso template.json
Directory http/ contains OS installer config files (preseed/kickstart/..)
Directory scripts/ contains set of scripts for provision after image build.