Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
VirtualBox: Avoid rsync for /vagrant
Browse files Browse the repository at this point in the history
This prevents sharing source changes between the host and the guest.

refs #17
refs #53
  • Loading branch information
Michael Friedrich committed Apr 23, 2017
1 parent 5c50596 commit 33edda5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/icinga1x-dev/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down
1 change: 1 addition & 0 deletions icinga2x-cluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down
1 change: 1 addition & 0 deletions icinga2x-elastic/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down
1 change: 1 addition & 0 deletions icinga2x-graylog/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down
1 change: 1 addition & 0 deletions icinga2x-ha-cluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down
1 change: 1 addition & 0 deletions icinga2x-influxdb/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down
1 change: 1 addition & 0 deletions icinga2x/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
raise 'vagrant-vbguest is not installed! Run "vagrant plugin install vagrant-vbguest"'
end
node_config.vbguest.auto_update = true
node_config.vm.synced_folder '.', '/vagrant', :type => 'virtualbox' # avoid rsync
vb.linked_clone = true if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new(VAGRANT_REQUIRED_LINKED_CLONE_VERSION)
vb.name = name
vb.gui = options[:gui] if options[:gui]
Expand Down

0 comments on commit 33edda5

Please sign in to comment.