commit | e36406d212a09b73cfb28f51c057d2d596776823 | [log] [tgz] |
---|---|---|
author | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Mon Nov 26 17:03:37 2018 +0400 |
committer | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Mon Nov 26 17:03:37 2018 +0400 |
tree | a132c0fff0e9ac6e6b75c2664821315025a9c300 | |
parent | 05c8ee7dbfb8e915500163f7d7b447fb0725b96b [diff] |
Override MCP_VERSION for TryMCP installation Change-Id: I5d07d46f46e76c4c9001d1cc89225d715809250f Related-bug: #PROD-25245 (PROD:25245)
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.