https://github.com/archf/vagrant-template
template
https://github.com/archf/vagrant-template
Last synced: 2 months ago
JSON representation
template
- Host: GitHub
- URL: https://github.com/archf/vagrant-template
- Owner: archf
- Created: 2015-03-04T20:31:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-07T14:51:56.000Z (over 8 years ago)
- Last Synced: 2025-01-24T19:16:42.753Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple vagrant template
Reusable template for:
- single multi-machine
- private network (bridged device)
- vagrant-hostmanager (optional)## Usage
The only thing you need to edit for single/multi-machine support are those 2
variables:```ruby
HOSTNAME_PREFIX = 'testbox'# ip: ip of 'netp' device
# group: group name of ansible inventory the box will be part of
hosts = [
{name: 'm1', ip: '192.168.56.71',
net: 'private_network', box: 'boxcutter/ubuntu1604', group: 'webserver'},
{name: 'm2', ip: '192.168.56.72',
net: 'private_network', box: 'bento/centos-7.1', group: 'db'}
]
```And the provisionner...