-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
22 lines (21 loc) · 866 Bytes
/
Vagrantfile
File metadata and controls
22 lines (21 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: ruby -*-
# vi: set ft=ruby :
# encoding: utf-8
Vagrant.configure("2") do |config|
config.vm.box = "base"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :private_network, ip: "192.168.12.34"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.provider :virtualbox do |vb|
vb.name = "ubuntu"
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
config.omnibus.chef_version = :latest
#config.berkshelf.enabled = true
config.vm.provision :chef_client do |chef|
chef.chef_server_url = "https://api.opscode.com/organizations/eyetys"
chef.validation_key_path = "./.chef/eyetys-validator.pem"
chef.validation_client_name = "eyetys-validator"
chef.node_name = 'ubuntu'
end
end