forked from lpancescu/cloud-instance-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
22 lines (19 loc) · 773 Bytes
/
Vagrantfile
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 :
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.network "private_network", ip:"192.168.56.3"
config.vm.synced_folder ".", "/home/vagrant/sync", disabled: true
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.customize ["storageattach", :id, "--storagectl", "IDE Controller",
"--port", "1", "--device", "0", "--type", "dvddrive",
"--medium", "/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso"]
# If the system time falls behind, uncomment the next line
# v.customize ["modifyvm", :id, "--paravirtprovider", "none"]
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provisioning/bootstrap.yml"
ansible.sudo = true
end
end