commit | 86ff1ce88387996bbb5daca9a0f7a6b818dc62e5 | [log] [tgz] |
---|---|---|
author | Vladimir Khlyunev <vkhlyunev@mirantis.com> | Thu Mar 10 16:43:10 2022 +0400 |
committer | Vladimir Khlyunev <vkhlyunev@mirantis.com> | Thu Mar 10 12:43:16 2022 +0000 |
tree | ba2eed3e04fee93ce85681a1b259e7d121415c93 | |
parent | 469f6dc9707c8c7dcdab501f9ecb3327f41cc34d [diff] |
Replace DNS server to CZ Change-Id: I651b00ba134a198d7532d546d100707099841325
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.