commit | daf1515526e7e64918c2de1f7ac22ff5ae572290 | [log] [tgz] |
---|---|---|
author | jan kaufman <jan.kaufman@tcpcloud.eu> | Thu Jan 07 10:42:41 2016 +0100 |
committer | jan kaufman <jan.kaufman@tcpcloud.eu> | Thu Jan 07 10:42:41 2016 +0100 |
tree | 820e59f71e85801522c52207884fedb63ab33d42 | |
parent | 976768c085ebf16887d1b52824dc0c9f08013533 [diff] |
add serial console support
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.