-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathVagrantfile
More file actions
40 lines (31 loc) · 1.4 KB
/
Vagrantfile
File metadata and controls
40 lines (31 loc) · 1.4 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define :tiacos do |tiacos_config|
# Every Vagrant virtual environment requires a box to build off of.
#tiacos_config.vm.box = "ubuntu/xenial64"
tiacos_config.vm.box = "davidcarrera/tiacos"
tiacos_config.vm.box_version = "0.5"
# required by couchbase-cli
tiacos_config.ssh.shell = "export LC_ALL=\"en_US.UTF-8\""
tiacos_config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
tiacos_config.ssh.username = "ubuntu"
tiacos_config.vm.provision "shell", inline: <<-SHELL
echo "ubuntu:ubuntu" | sudo chpasswd
SHELL
tiacos_config.vm.provision :shell, :path => "install_puppet.sh"
tiacos_config.vm.provision "puppet" do |puppet|
puppet.module_path = "puppet/modules"
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "."
puppet.options = "--environment dev"
end
tiacos_config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--uartmode1", "disconnected"]
v.customize ["modifyvm", :id, "--memory", "2048"]
end
tiacos_config.vm.network :private_network, ip: "192.168.56.101"
tiacos_config.vm.network "forwarded_port", guest: 8888, host: 8888
tiacos_config.vm.synced_folder "labs/", "/home/ubuntu/labs"
end
end