commit | 24be3109beacc9cd6613bca2bfec97cff8870f2b | [log] [tgz] |
---|---|---|
author | Petr Ruzicka <petr.ruzicka@gmail.com> | Wed Aug 15 13:39:15 2018 +0200 |
committer | Petr Ruzicka <petr.ruzicka@gmail.com> | Thu Aug 16 09:40:18 2018 +0200 |
tree | b00827389175071ba1326fd67e589a6cb1292c8b | |
parent | d78f6170b7dfbc5e25ebb17e284f74b63eb85e93 [diff] |
Removing everything in /var/cache/* Change-Id: I4a1d5068f3be1e0ff08170bf97d90c12eca967cc
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.