commit | e0b52ecf03cc6d62e48b96edf51cf54739562389 | [log] [tgz] |
---|---|---|
author | Petr Ruzicka <petr.ruzicka@gmail.com> | Tue Jul 03 12:37:56 2018 +0200 |
committer | Petr Ruzicka <petr.ruzicka@gmail.com> | Tue Jul 03 12:39:01 2018 +0200 |
tree | 759e2a8fc0e90a443e0866a725d86f6ea1b385d1 | |
parent | 1726e80c8ab2d35b0714767255d3b21c1944f436 [diff] |
Adding possibility to change MTU on deploy_network Change-Id: Ic58c0b664a4a0c878dd770814382cbd2e55a77f6
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.