commit | 96e8b0699dc1aef202c5e9e55beea744b6dcbab0 | [log] [tgz] |
---|---|---|
author | Denis Egorenko <degorenko@mirantis.com> | Wed Apr 03 18:05:50 2019 +0400 |
committer | Denis Egorenko <degorenko@mirantis.com> | Thu Apr 11 14:08:23 2019 +0400 |
tree | ab9e440f30b9961458250353920544735f1059b1 | |
parent | 9a1737fac473e20e9070324277f6a854650d2f19 [diff] |
Update trymcp-day01 image scripts Switch to nightly MCP_VERSION and add stuff for MM vm. Related-Prod: PROD-27660 Related-Prod: PROD-29074 Change-Id: Ia9c0351bca244559e2a0cf326d3073a0f9af0823
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.