All Projects → geerlingguy → Packer Boxes

geerlingguy / Packer Boxes

Licence: mit
Jeff Geerling's Packer build configurations for Vagrant boxes.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Packer Boxes

Packer Ubuntu 1404
DEPRECATED - Packer Example - Ubuntu 14.04 Vagrant Box using Ansible provisioner
Stars: ✭ 81 (-83.64%)
Mutual labels:  ansible, packer, ubuntu, vagrant, virtualbox, box
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (-38.79%)
Mutual labels:  packer, ubuntu, debian, centos, vagrant, virtualbox
Vagrant Box Templates
Stars: ✭ 100 (-79.8%)
Mutual labels:  ansible, ubuntu, debian, centos, vagrant, virtualbox
Packer Centos 6
This build has been moved - see README.md
Stars: ✭ 78 (-84.24%)
Mutual labels:  ansible, packer, centos, vagrant, virtualbox, box
Packer Centos 7
This build has been moved - see README.md
Stars: ✭ 223 (-54.95%)
Mutual labels:  ansible, packer, centos, vagrant, virtualbox, box
Bento
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Stars: ✭ 3,779 (+663.43%)
Mutual labels:  packer, ubuntu, centos, vagrant, virtualbox
Packer Ubuntu 1804
This build has been moved - see README.md
Stars: ✭ 101 (-79.6%)
Mutual labels:  ansible, packer, ubuntu, vagrant, virtualbox
Ansible Role Hardening
Ansible role to apply a security baseline. Systemd edition.
Stars: ✭ 188 (-62.02%)
Mutual labels:  ansible, ubuntu, debian, centos, vagrant
Packer Templates
Stars: ✭ 90 (-81.82%)
Mutual labels:  packer, ubuntu, debian, vagrant, virtualbox
Packer Build
Packer Automated VM Image and Vagrant Box Builds
Stars: ✭ 199 (-59.8%)
Mutual labels:  packer, ubuntu, debian, vagrant, virtualbox
Ansible Role Packer rhel
Ansible Role - Packer RHEL/CentOS Configuration for Vagrant VirtualBox
Stars: ✭ 45 (-90.91%)
Mutual labels:  ansible, packer, centos, virtualbox, box
Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (-75.35%)
Mutual labels:  ansible, ubuntu, debian, centos
packer-ubuntu-18.04
packer example - Ubuntu Server 18.04.5
Stars: ✭ 37 (-92.53%)
Mutual labels:  vagrant, packer, ubuntu, virtualbox
Mattermost Ansible
Ansible playbook to provide a turnkey solution for the Team Edition of Mattermost
Stars: ✭ 126 (-74.55%)
Mutual labels:  ansible, ubuntu, debian, centos
Oracle Java
Ansible role to install Oracle Java 8/11 on Debian and RedHat based distributions.
Stars: ✭ 144 (-70.91%)
Mutual labels:  ansible, ubuntu, debian, centos
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (-19.6%)
Mutual labels:  ansible, ubuntu, debian, centos
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (-81.01%)
Mutual labels:  ansible, packer, vagrant, virtualbox
Packer Templates
Scripts and Templates used for generating Vagrant images
Stars: ✭ 219 (-55.76%)
Mutual labels:  ansible, packer, vagrant, virtualbox
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (-30.71%)
Mutual labels:  ansible, ubuntu, debian, centos
insaneworks-packer-template
CentOS 7-8 8Stream / AlmaLinux 8 / FreeBSD 12 - 13 x64 + VirtualBox / VMWare for Packer Template + FreeBSD 13 / AlmaLinux 9 + Parallels
Stars: ✭ 38 (-92.32%)
Mutual labels:  vagrant, packer, virtualbox, centos

Jeff Geerling's Vagrant Box Packer Builds

Validate Packer JSON files

This project contains the Packer build configurations for all of Jeff Geerling's (geerlingguy's) Vagrant Boxes. Each box builds a minimal base box for use with VirtualBox. Available boxes include:

All of these boxes are available as public, free Vagrant boxes and can be used with the command:

vagrant init geerlingguy/[box name here]

You can also fork this repository and customize a build configuration with your own Ansible roles and playbooks to build a fully custom Vagrant box using Packer. For one such example, see the Drupal VM Packer Build.

Requirements

The following software must be installed/present on your local machine before you can use Packer to build any of these Vagrant boxes:

Usage

Make sure all the required software (listed above) is installed, then cd into one of the box directories and run:

$ packer build -var 'version=1.2.0' box-config.json

After a few minutes, Packer should tell you the box was generated successfully, and the box was uploaded to Vagrant Cloud.

Note: This configuration includes a post-processor that pushes the built box to Vagrant Cloud (which requires a VAGRANT_CLOUD_TOKEN environment variable to be set); remove the vagrant-cloud post-processor from the Packer template to build the box locally and not push it to Vagrant Cloud. You don't need to specify a version variable either, if not using the vagrant-cloud post-processor.

Building all the boxes

Whenever VirtualBox is updated, it's best to re-build all the base boxes so they have the latest guest additions.

Assuming you have Ansible and Packer installed already, and you have a VAGRANT_CLOUD_TOKEN available in your environment, you can run the playbook to build and push updated versions for all the boxes:

ansible-playbook build-boxes.yml

You can also build and push just one box:

ansible-playbook build-boxes.yml -e "{'boxes':['debian10']}"

Testing built boxes

There's an included Vagrantfile that allows quick testing of the built Vagrant boxes. From the same box directory, run the following command after building the box:

$ vagrant up

Test that the box works correctly, then tear it down with:

$ vagrant destroy -f

License

MIT

Author

These configurations are maintained by Jeff Geerling, author of Ansible for DevOps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].