commit | 9138b183e5f551eb90adb74fe4004f40483b8062 | [log] [tgz] |
---|---|---|
author | Petr Ruzicka <petr.ruzicka@gmail.com> | Wed Aug 22 17:38:30 2018 +0200 |
committer | Aleksey Zvyagintsev <azvyagintsev@mirantis.com> | Thu Aug 23 09:17:25 2018 +0000 |
tree | 566e4f0f358588b2a0b2a6b41a7c23c53c58f3e3 | |
parent | 24be3109beacc9cd6613bca2bfec97cff8870f2b [diff] |
Move default's salt from 2016.3 -> 2017.7 Change-Id: I55a3b4ac90ece40c5ec3a9656bb607307f3a4905
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.