Experiments with Vagrant and Packer
The objective of these changes was to enhance my understaind of Packer and Vagrant and their use in supporting virtual machine deployment.
- Additional resources:
- Using Packer and Vagrant to Build Virtual Machines by Florian Motlik
This repo introduces the following changes to Pierre's and Gavin's work.
- Make files to generate a Debian Virtual Box file. Pierre's work supports both Jessie and Wheezy.
- Make files to generate a CentOS Virtual Box file. Gavin's work supports CentOS-7.0-1406.
Thanks to Pierre for providing making packer-debian public. It provided an excellent start to my investigation.
Thanks to Gavin Burris for publishing information on using Vagrant and Packer on CentOS. Gavin's work is Copyright (c) 2016 The Wharton School, The University of Pennsylvania.
Thanks to Florian Motlik. His example allowed me to understand Vagrant better.
- GNU Make 3.85
- Packer 0.10.1
- Vagrant 1.8.1
- Python's passlib
Using Python's virtualenv? make install takes care of Python dependencies. It will not install Python modules into anything other than a virtual environment,
First, update your environment. Run exportenv.sh in the project's root directory:
> source exportenv.sh `pwd`
> make install
To build every Vagrant Box:
> make all
To build every Vagrant Box for a specified distribution (e.g., Debian):
> cd debian; make all