commit | 465755aa1871a6479bd639e62160cbe66945f950 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Tue Sep 25 17:00:28 2018 +0300 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Tue Sep 25 17:00:28 2018 +0300 |
tree | a2f49432fe8874b568de64ae2f78f0b33fd8dd2a | |
parent | 22dfc86b975a27ec4fcc6ea662988649a089a93f [diff] |
Temporary switch to lts-xenial kernel Change-Id: I7749d0dc35126aa615585bd255b9da61e7a765bd Related-Bug: PROD-23185 (PROD:23185)
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.