4 # Set memory value (MB) and number of CPU cores here
8 # Initial Vagrant configuration
9 Vagrant.configure(2) do |config|
11 # --------------------------------
12 # Shared VirtualBox configuration
13 # --------------------------------
14 config.vm.provider "virtualbox" do |vb|
21 # --------------------------
22 # Configuration for CentOS 7
23 # --------------------------
24 config.vm.define "centos" do |centos|
25 # Build Vagrant box based on CentOS 7
26 centos.vm.box = "chef/centos-7.0"
28 centos.vm.hostname = "tools-centos"
29 # Enable X11 SSH forwarding for GUI applications
30 config.ssh.forward_x11 = "true"
31 # Use shell provisioner to install additional packages
32 centos.vm.provision "shell", path: "scripts/centos.sh"
34 # Install OpenDaylight using its Puppet module
35 centos.vm.provision "puppet" do |puppet|
36 puppet.module_path = ["modules"]
37 puppet.manifest_file = "odl_install.pp"
40 # VirtualBox configuration specific to this box
41 centos.vm.provider "virtualbox" do |vb|
42 # Name of VirtualBox guest machine
43 vb.name = "Integration Tools: CentOS-7"
47 # ----------------------------------
48 # Configuration for Ubuntu 14.04 LTS
49 # ----------------------------------
50 config.vm.define "ubuntu" do |ubuntu|
51 # Build Vagrant box based on Ubuntu 14.04
52 ubuntu.vm.box = "ubuntu/trusty64"
54 ubuntu.vm.hostname = "tools-ubuntu"
55 # Enable X11 SSH forwarding for GUI applications
56 ubuntu.ssh.forward_x11 = "true"
57 # Use shell provisioner to install additional packages
58 #ubuntu.vm.provision "shell", path: "scripts/ubuntu.sh"
60 # VirtualBox configuration specific to this box
61 ubuntu.vm.provider "virtualbox" do |vb|
62 # Name of VirtualBox guest machine
63 vb.name = "Integration Tools: Ubuntu-14.04"