commit | 73fff7f228e07acc6d55f3b3031813f948dc7383 | [log] [tgz] |
---|---|---|
author | azvyagintsev <azvyagintsev@mirantis.com> | Thu Jul 19 23:11:36 2018 +0300 |
committer | azvyagintsev <azvyagintsev@mirantis.com> | Fri Jul 20 12:39:18 2018 +0300 |
tree | 2fb7b9cc9683f157b87dba47a424d61f37540d97 | |
parent | 5a2d6ec24b32b4812bf74ca430b59c6559edce57 [diff] |
cleanup salt more strict * finally satisfy salt - add virt-what pkg by default for all. * set default log_file: /var/log/salt/(minion|master) For some reason salt 2017.7.5+ds-1 ignore default values and stuck after restart with 2018-07-19 20:04:04,811 [salt.log.setup :1145][ERROR ][32030] An un-handled exception was caught by salt's global exception handler: IOError: [Errno 9] Bad file descriptor IOError: [Errno 9] Bad file descriptor Change-Id: I276e410a86ba8f8ad8f68b110a90408558800d70
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.