tree: d084833fe36d4ba4495f3a6e38eb8d2ad56b95c5 [path history] [tgz]
  1. ansible/
  2. bin/
  3. http/
  4. scripts/
  5. .gitignore
  6. ansible.cfg
  7. hdp-centos-6.7.json
  8. metron-centos-6.7.json
  9. README.md
metron-deployment/packer-build/README.md

Build Metron Images

Based on the fantastic Bento project developed by Chef.

Images Provided

  • hdp-centos-6.7: Centos 6.7 + HDP. Used in the quick-dev-platform Vagrant image
  • metron-centos-6.7: Centos 6.7 + HDP + Metron. Used for the codelab-platform Vagrant image.

Prerequisites

Build Both Images

Navigate to /metron-deployment/packer-build Execute bin/bento build

Packer will build both images and export .box files to the ./builds directory.

Build Single Images

Navigate to your-project-directory/metron-deployment/packer-build

  • HDP Centos bin/bento build hdp-centos-6.7.json
  • Full Metron bin/bento build metron-centos-6.7.json

Using Your New Box File

Modify the relevant Vagrantfile (codelab-platform or quick-dev-platform) replacing the lines:

with

Launch the image as usual.

Node: Vagrant will cache boxes, you can force Vagrant to reload your box by running vagrant box remove test_box_name before launching your new image.