commit | f4ebd6c303f8afa44513e27dd68a7229ad060389 | [log] [tgz] |
---|---|---|
author | Stanislav Riazanov <sriazanov@mirantis.com> | Thu Jan 24 15:56:40 2019 +0400 |
committer | Stanislav Riazanov <sriazanov@mirantis.com> | Thu Jan 24 17:32:51 2019 +0400 |
tree | a78d218a642f1f076d2fd017808c6c6a5992b937 | |
parent | ebe18919fcea4da7eab0f022acb04a390a23d533 [diff] |
Disabling maas-dhcpd* services for base image Prod-related: (PROD:26907) Change-Id: Id19793e15caee165de59ea9b68fc13ea50ddf6a2
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.