summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorLourenço Soares <lousbr@gmail.com>2015-01-29 10:23:53 -0200
committerLourenço Soares <lousbr@gmail.com>2015-01-29 10:25:25 -0200
commit7585c7afe36ff3149d62bef3756f5667059697dc (patch)
tree04e4210c199aed76560d1ce0e8554ebd5b697796 /Vagrantfile
parent9748a581874e519afb952203f0d25280ebcca735 (diff)
Fixing VagrantFile to work on Windows (with Cygwin)
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Vagrantfile b/Vagrantfile
index fc4963b0..a05e672e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -19,8 +19,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# for details
config.vm.box = "leap-jessie-amd64"
+
config.vm.define "source", primary: true do |source|
- source.vm.provider "virtualbox" do |v, override|
+ source.vm.provider :virtualbox do |v, override|
override.vm.box_url = "https://downloads.leap.se/platform/vagrant/virtualbox/leap-debian-jessie-amd64-virtualbox.box"
end
source.vm.provider "libvirt" do |v, override|
@@ -55,8 +56,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hackday-pixelated-user-agent"
end
-
- config.vm.network :forwarded_port, guest: 3333, guest_ip: '127.0.0.1', host: 3333
+ config.vm.network :forwarded_port, guest: 3333, host: 3333 # do NOT add host_ip in this line. It is not necessary
+ config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end