commit | 3187965b1df40160b53ba3e914085794e48aac78 | [log] [tgz] |
---|---|---|
author | Denis Egorenko <degorenko@mirantis.com> | Mon Dec 16 13:48:52 2019 +0400 |
committer | Denis Egorenko <degorenko@mirantis.com> | Mon Dec 16 21:24:44 2019 +0400 |
tree | 65703cda5f6ab265ab71a8634904f9a2b50f2e7f | |
parent | cae5b3e1273e716932a07c3d1ed90aa9eaab2964 [diff] |
Rename parameter tagged_mcp_version to mcp_tagged_version for offline image Rename parameter to avoid any issues with regexp for mcp_version parameters. Also fix symlink to update/<VERSION> repo for tag. Change-Id: I7795eebb5c7983630be6cf8d4fb207df2a91baaf Related-Prod: PROD-34366
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.