commit | 211b237042963640805cb8b3c0024567d990c2dc | [log] [tgz] |
---|---|---|
author | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Tue May 14 13:15:42 2019 +0400 |
committer | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Tue May 14 13:18:09 2019 +0400 |
tree | 9164f9b569e076ca4aaa4acb57eba71c44d57506 | |
parent | 96e8b0699dc1aef202c5e9e55beea744b6dcbab0 [diff] |
Specify port in Maas url Maas is no longer under apache, so we should access it via Maas specific 5240 port. Related-prod: #PROD-28655 (PROD:28655) #PROD-30209 (PROD:30209) Change-Id: I7a103c52f3d5ceb17a5704846a437659db9ab07b
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.