commit | 393dc8e6f9fbfdc973cf6bc6d69fc62d0163ba4a | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Mon Nov 19 11:31:26 2018 +0200 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Mon Nov 19 11:31:59 2018 +0200 |
tree | d5f1b195e44b9278affa94fade3770e042d73cca | |
parent | c46e7c0065fa5b240f96ad01d24fe4001de923ab [diff] |
Switch ubuntu16 image to iso installation type * Implement LVM partitioning Change-Id: I8bfeff1d0be0debd41eea62ab299a1e4697f515b
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.