commit | be158632b987f795eeb1290930e64d6041d0b3ed | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Thu Dec 13 20:23:52 2018 +0200 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Thu Dec 13 20:25:22 2018 +0200 |
tree | 42cd86e0fc1af884d08cc5a865cb1e81d2399099 | |
parent | 6dc33f5ebb6e6d3ad27d0b3f4b5cb85792c84e10 [diff] |
Don't use mirror to init. ubuntu-16 VCP Prod-related: PROD-25749 (PROD:25749) Change-Id: I56989a0044fef981597dda8c19819cd43ecefd85
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.