https://github.com/boris/vagrant
My Vagrant config
https://github.com/boris/vagrant
hacktoberfest
Last synced: over 1 year ago
JSON representation
My Vagrant config
- Host: GitHub
- URL: https://github.com/boris/vagrant
- Owner: boris
- Created: 2015-07-13T15:20:29.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-13T09:11:45.000Z (over 2 years ago)
- Last Synced: 2025-02-10T18:13:33.527Z (over 1 year ago)
- Topics: hacktoberfest
- Language: Shell
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrantfile
## Setup
```bash
$ git clone git@github.com:boris/vagrant.git
$ cd vagrant
$ vagrant status
Current machine states:
ubuntu_chef not created (virtualbox)
ubuntu not created (virtualbox)
arch not created (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
$ vagarnt up instance2
```
## Provision
This Vagrantfile contains the configuration for three different instances, each
of them provisioned with different methods.
The first one `instance0` is provisioned using `chef_client`. To use this
provision method, modify the following variables:
- `chef.chef_server_url`
- `chef.node_name`: the name your instance will send to chef server
- `chef.validation_key_path`: where your `.pem` key is
- `chef.validation_client_name`: the used associated to your `.pem` key.
## Add vagrant box
To add the vagrant box for ArchLinux included in this config, run the following
command:
```
$ vagrant box add arch64_2013 https://dl.dropboxusercontent.com/u/31112574/arch64-20130801.box
```