commit | b5ba6b71b7b5faff19f324f61b27ecd2e7b71104 | [log] [tgz] |
---|---|---|
author | Marek Celoud <mceloud@mirantis.com> | Mon May 22 10:30:48 2017 +0200 |
committer | Marek Celoud <mceloud@mirantis.com> | Mon May 22 10:42:38 2017 +0200 |
tree | 98278a11721aafbeaad418ced3b80d3dafa366a1 | |
parent | eb3ce3ed54473559dde2ae97ac9e928d46c07d5c [diff] |
Temporary install of specific version of hwe kernel due to https://bugs.launchpad.net/ubuntu/+source/linux-hwe-edge/+bug/1679823 Change-Id: I1f98e51abcfdd2b343b8cf2e31caec31c94c8ed3
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.