commit | 05c5b608cca9ee1ef8014c8562cec8b6e618a4f9 | [log] [tgz] |
---|---|---|
author | Jiri Broulik <jbroulik@mirantis.com> | Wed Apr 11 13:52:37 2018 +0200 |
committer | Jiri Broulik <jbroulik@mirantis.com> | Wed Apr 11 13:53:21 2018 +0200 |
tree | d77dec96767747d2ee090f2122994a60b118661b | |
parent | e643a83e29363a6b91592f5ef1134ff50f40c231 [diff] |
day1 adding salt missing param Change-Id: Iee1862cb4d3b68f1e841bb6d49b448383109d6fb
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.