commit | 6d5bd499829f98e9c6ba7fda489975d1a56a7141 | [log] [tgz] |
---|---|---|
author | Richard Felkl <rfelkl@mirantis.com> | Thu Apr 26 09:49:29 2018 +0200 |
committer | Richard Felkl <rfelkl@mirantis.com> | Thu Apr 26 09:49:29 2018 +0200 |
tree | 7d021bdc9e65d25a90a745d1fdc42ac1da43d688 | |
parent | 2ad150e68774c21a922256453eb31fbc01c255e3 [diff] |
Change flavor for Mirror VM. Change-Id: I29237da0b709b280c325dee0ae409b34e34f007f Related: PROD-19245
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.