commit | 738ce8233fe4ff14b89dead05cd6965cb774e705 | [log] [tgz] |
---|---|---|
author | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Fri Nov 16 13:00:24 2018 +0400 |
committer | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Fri Nov 23 16:21:51 2018 +0400 |
tree | a272e62b0e46872ba0c3ed0371a96ae8eaff914a | |
parent | 05c8ee7dbfb8e915500163f7d7b447fb0725b96b [diff] |
Update jenkins installation on CFG day01 image Change-Id: I4c505dff0adb2dcee02cdb7d5f6b288455e5dd12 Related-task: #PROD-24934 (PROD:24934)
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.