-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathVagrantfile
More file actions
24 lines (19 loc) · 776 Bytes
/
Copy pathVagrantfile
File metadata and controls
24 lines (19 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# pick your favorite (or already downloaded) c6 box
config.vm.box = "geerlingguy/centos6"
# 1.1.3 worked for PD
config.vm.box_check_update = false
config.vm.network "forwarded_port", guest: 80, host: 8888
# might be suboptimal to do sshd work in vagrant
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "./", "/usr/local/dcm"
# provision with ansible
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/dcm.yml"
end
end