commit | 4a0441669be6acd574dd7a09f304f95b2c5f9ef0 | [log] [tgz] |
---|---|---|
author | Jiri Broulik <jbroulik@mirantis.com> | Wed Apr 18 14:48:44 2018 +0200 |
committer | Jiri Broulik <jbroulik@mirantis.com> | Wed Apr 18 14:49:05 2018 +0200 |
tree | b584ac8028985aebddfd01649f646a072dd0d186 | |
parent | dbe1038403a3b0bd9b572f9f212b422cf2f0a50e [diff] |
day01 - clean up node/cfg01.yml PROD-19422 Change-Id: I4081abe926a89f504bb1a0e83913fac4c643c6af
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.