{"id":13564876,"url":"https://github.com/geerlingguy/packer-boxes","last_synced_at":"2025-05-15T01:07:43.710Z","repository":{"id":41132260,"uuid":"56781579","full_name":"geerlingguy/packer-boxes","owner":"geerlingguy","description":"Jeff Geerling's Packer build configurations for Vagrant boxes.","archived":false,"fork":false,"pushed_at":"2025-01-21T02:33:12.000Z","size":87,"stargazers_count":659,"open_issues_count":8,"forks_count":305,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-15T08:46:05.180Z","etag":null,"topics":["ansible","box","centos","debian","packer","ubuntu","vagrant","virtualbox"],"latest_commit_sha":null,"homepage":"https://app.vagrantup.com/geerlingguy","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2016-04-21T14:43:33.000Z","updated_at":"2025-04-12T06:15:03.000Z","dependencies_parsed_at":"2025-02-10T15:00:38.237Z","dependency_job_id":"a44d5c20-4c27-405d-b5d5-129cd56dfee2","html_url":"https://github.com/geerlingguy/packer-boxes","commit_stats":null,"previous_names":["geerlingguy/packer-ubuntu-1604"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fpacker-boxes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fpacker-boxes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fpacker-boxes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fpacker-boxes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/packer-boxes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254041,"owners_count":22039792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","box","centos","debian","packer","ubuntu","vagrant","virtualbox"],"created_at":"2024-08-01T13:01:37.381Z","updated_at":"2025-05-15T01:07:38.702Z","avatar_url":"https://github.com/geerlingguy.png","language":"Shell","readme":"# Jeff Geerling's Vagrant Box Packer Builds\n\n![Validate Packer JSON files](https://github.com/geerlingguy/packer-boxes/workflows/Validate%20Packer%20JSON%20files/badge.svg)\n\nThis 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:\n\n  - [geerlingguy/ubuntu2004](https://app.vagrantup.com/geerlingguy/boxes/ubuntu2004) - [`ubuntu2004` directory](ubuntu2004/)\n  - [geerlingguy/ubuntu1804](https://app.vagrantup.com/geerlingguy/boxes/ubuntu1804) - [`ubuntu1804` directory](ubuntu1804/)\n  - [geerlingguy/rockylinux8](https://app.vagrantup.com/geerlingguy/boxes/rockylinux8) - [`rockylinux8` directory](rockylinux8/)\n  - [geerlingguy/centos7](https://app.vagrantup.com/geerlingguy/boxes/centos7) - [`centos7` directory](centos7/)\n  - [geerlingguy/debian11](https://app.vagrantup.com/geerlingguy/boxes/debian11) - [`debian11` directory](debian11/)\n  - [geerlingguy/debian10](https://app.vagrantup.com/geerlingguy/boxes/debian10) - [`debian10` directory](debian10/)\n  - [geerlingguy/debian9](https://app.vagrantup.com/geerlingguy/boxes/debian9) - [`debian9` directory](debian9/)\n\nAll of these boxes are available as public, free Vagrant boxes and can be used with the command:\n\n    vagrant init geerlingguy/[box name here]\n\nYou 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](https://github.com/geerlingguy/packer-drupal-vm).\n\n## Requirements\n\nThe following software must be installed/present on your local machine before you can use Packer to build any of these Vagrant boxes:\n\n  - [Packer](http://www.packer.io/)\n  - [Vagrant](http://vagrantup.com/)\n  - [VirtualBox](https://www.virtualbox.org/)\n  - [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)\n\n## Usage\n\nMake sure all the required software (listed above) is installed, then cd into one of the box directories and run:\n\n    $ packer build -var 'version=1.2.0' box-config.json\n\nAfter a few minutes, Packer should tell you the box was generated successfully, and the box was uploaded to Vagrant Cloud.\n\n\u003e **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.\n\n### Building _all_ the boxes\n\nWhenever VirtualBox is updated, it's best to re-build _all_ the base boxes so they have the latest guest additions.\n\nAssuming 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:\n\n    ansible-playbook build-boxes.yml\n\nYou can also build and push just one box:\n\n    ansible-playbook build-boxes.yml -e \"{'boxes':['debian10']}\"\n\n## Testing built boxes\n\nThere'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:\n\n    $ vagrant up\n\nTest that the box works correctly, then tear it down with:\n\n    $ vagrant destroy -f\n\n## License\n\nMIT\n\n## Author\n\nThese configurations are maintained by [Jeff Geerling](https://www.jeffgeerling.com), author of [Ansible for DevOps](https://www.ansiblefordevops.com).\n","funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fpacker-boxes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fpacker-boxes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fpacker-boxes/lists"}