commit | c6bcfd7c7ea0f0ef65dfc891b10d17cf773ef1fd | [log] [tgz] |
---|---|---|
author | Jakub Josef <jakub.josef@gmail.com> | Tue Feb 14 18:14:28 2017 +0100 |
committer | Jakub Josef <jakub.josef@gmail.com> | Fri Feb 17 13:07:42 2017 +0100 |
tree | 8a2ebc649a4cfd51a6961e59b5293452021d4e28 | |
parent | 6ee6f9976dde609a6dffc0e14270d74050786c3d [diff] |
Fixed Jenkins pipeline Change-Id: Ida88a43f560f8b6a74f1746bf880604a14ac59c9
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.