commit | 8b5ea0bd6e09e67bd9041da15c4a6c06a97cc812 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Tue Oct 30 19:48:19 2018 +0200 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Tue Oct 30 20:15:59 2018 +0200 |
tree | 8781d7b950b638a1b11e4624b5454912a800ec9d | |
parent | bfd61702d2a17b6155cc6486067b5fd32f987b84 [diff] |
Add 'update' hook for offline mirror * Those would prevent failures for 2018q3+ model releases, where 'system.linux.system.repo.mcp.apt_mirantis.update.xxx' enabled by default, but not in offline mirror by default Change-Id: I8d7b13d91e24a34c6c7a271ddc065f3d39f0b0e1
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.