https://github.com/runlevel5/vagrant-boxes
A repo of orchestration code for Vagrant boxes
https://github.com/runlevel5/vagrant-boxes
Last synced: 4 months ago
JSON representation
A repo of orchestration code for Vagrant boxes
- Host: GitHub
- URL: https://github.com/runlevel5/vagrant-boxes
- Owner: runlevel5
- License: gpl-2.0
- Created: 2020-05-08T16:15:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T00:58:18.000Z (almost 5 years ago)
- Last Synced: 2025-01-25T12:27:55.195Z (5 months ago)
- Language: Shell
- Size: 43 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Build vagrant box
Make sure you have the latest version of `packer`.
1. Build vagrant box:
```
# check Makefile for all targets, for example build alpine x86_64 libvirt
make alpine_x86_64_libvirt
```2. Add vagrant box:
```
vagrant box add --name 'my_box' box/.box
```3. Now you could use this image in `Vagrantfile`:
```
Vagrant.configure("2") do |config|
config.vm.box = "my_box"
end
```### Credits
Codes are based on:
* https://github.com/osuosl/packer-templates