Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
Add vagrant vbguest plugin to ensure matching guest additions
Browse files Browse the repository at this point in the history
  • Loading branch information
antoviaque committed May 2, 2016
1 parent ab3cffa commit 0d16032
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

unless Vagrant.has_plugin?("vagrant-vbguest")
raise "Please install the vagrant-vbguest plugin by running `vagrant plugin install vagrant-vbguest`"
end

Vagrant.configure(2) do |config|
# TODO: Switch back to the official box once it is released
config.vm.box = 'opencraft/xenial64'
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.synced_folder '.', '/home/vagrant/opencraft'

config.vbguest.auto_update = true
config.vbguest.auto_reboot = true

config.vm.network 'forwarded_port', guest: 2001, host: 2001
config.vm.network 'forwarded_port', guest: 5000, host: 5000
config.vm.network 'forwarded_port', guest: 8888, host: 8888
Expand Down

0 comments on commit 0d16032

Please sign in to comment.