-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Vagrantfile
25 lines (19 loc) · 975 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "planet"
#config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.box_url = "https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box"
config.vm.box_download_insecure = true
config.vm.network "private_network", ip: "192.168.60.10"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.hostname = "planet"
config.vm.synced_folder "planet/", "/srv/venus/planet.plone.org"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--ioapic", "on" ]
vb.customize ["modifyvm", :id, "--cpus" , "2" ]
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--name", "planet" ]
end
config.vm.provision "shell", path: "scripts/setup.sh"
end