commit | 52d4b9410d15a42ab576e05a8cd5692e602d93db | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Tue Jan 29 19:55:06 2019 +0200 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Tue Jan 29 19:55:06 2019 +0200 |
tree | 93451ef99e705ac9c32f8f2d1802a18be7b8438a | |
parent | ebe18919fcea4da7eab0f022acb04a390a23d533 [diff] |
switch to jsl03.mcp.mirantis.net slave Change-Id: I02ea2f4df914fb74ea34869a6e9c38a998c4979a
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.