forked from cloudfoundry-attic/dea_ng
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathVagrantfile
27 lines (22 loc) · 1.03 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Vagrant.configure("2") do |config|
config.vm.box = "warden-compatible"
config.vm.box_url = "https://s3.amazonaws.com/runtime-artifacts/warden-compatible.box"
# Requires vagrant-aws and unf plugins
config.vm.provider :aws do |aws, override|
override.vm.box = "dummy"
override.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box"
override.ssh.private_key_path = ENV["WARDEN_AWS_PRIVATE_KEY_PATH"]
aws.ami = ENV["WARDEN_COMPATIBLE_AMI"] || "ami-e0b64188"
aws.access_key_id = ENV["AWS_ACCESS_KEY_ID"]
aws.secret_access_key = ENV["AWS_SECRET_ACCESS_KEY"]
aws.instance_type = "m3.medium"
aws.tags = { "Name" => "dea-test" }
aws.block_device_mapping = [{
:DeviceName => "/dev/sda1", 'Ebs.VolumeSize' => 40
}]
end
# For Nokogiri
config.vm.provision "shell", inline: "sudo apt-get update"
config.vm.provision "shell", inline: "sudo apt-get -q -y install libxslt-dev libxml2-dev"
config.vm.provision "shell", inline: "sudo apt-get -q -y install libcurl4-gnutls-dev"
end