Vagrantfile and Makefile required for creating vagrant base image -
Also updating .gitignore file to not to incluse the created
vagrant base box in the commit
Change-Id: If7508f8c67e47b1cf282eb72cd6e32ba8442312f
diff --git a/vagrant-base/Vagrantfile b/vagrant-base/Vagrantfile
new file mode 100644
index 0000000..ce086aa
--- /dev/null
+++ b/vagrant-base/Vagrantfile
@@ -0,0 +1,25 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure(2) do |config|
+
+ if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
+ config.vm.synced_folder "../", "/voltha", mount_options: ["dmode=700,fmode=600"]
+ else
+ config.vm.synced_folder "../", "/voltha"
+ end
+
+ config.vm.define "voltha" do |d|
+ d.vm.box = "voltha-base"
+ d.vm.hostname = "voltha"
+ d.vm.network "private_network", ip: "10.100.198.220"
+ d.vm.provision :shell, inline: "cd /voltha && source env.sh && chmod 777 /tmp/fluentd"
+ end
+
+ config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
+
+ if Vagrant.has_plugin?("vagrant-cachier")
+ config.cache.scope = :box
+ end
+
+end