commit | e052fbe45f5814f6cf1bdca70e69bd90a7a99673 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Thu Dec 13 22:08:32 2018 +0200 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Thu Dec 13 23:24:48 2018 +0200 |
tree | 746a8974c583cca79a8cf28b635343087e2a9a29 | |
parent | be158632b987f795eeb1290930e64d6041d0b3ed [diff] |
Multiply updates * Add simple post-processor, for predictable qemu artifact naming * install-recommends false for ubuntu16 * Fix zerofree for lvm based Change-Id: Ic87d0c5e9472894714294a27d4aef797474138c6
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.