commit | 9a1737fac473e20e9070324277f6a854650d2f19 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Mon Mar 11 15:44:54 2019 +0200 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Wed Mar 20 18:32:57 2019 +0200 |
tree | ee1ee0f4e54ca76a3f5d03657f4a997489b4b199 | |
parent | bae3501bfed9aa0685219c56b411a7afb14a3c3b [diff] |
Add ubuntu18 * Info about Ubiquity https://wiki.ubuntu.com/UbiquityAutomation - we do exactly partitioning=> no possibility for now, to use new installer type. * Move growlvm.py to commons Change-Id: Iabda3770b368a48919fef89d3a78cae388f60168 Prod-related: PROD-28155 (PROD:28155)
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.