commit | ff8efa82f9bf69d10a2feb77e7d859b00d3f59e1 | [log] [tgz] |
---|---|---|
author | Stanislav Riazanov <sriazanov@mirantis.com> | Tue Dec 04 21:08:26 2018 +0400 |
committer | Aleksey Zvyagintsev <azvyagintsev@mirantis.com> | Fri Dec 07 12:03:00 2018 +0000 |
tree | 75d8567cff850db0d01125b9d4adbfd45c2f55dd | |
parent | 045d9e5762609040e22a441ac42566c684f9c140 [diff] |
Switch maas to dockerized PostgreSQL Prod-related: PROD-25203 (PROD:25203) Change-Id: I1ffca266ad6a1f12f1699a8a1cac757c8a59f861
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.