Requirement.
Vagrant
download: https://releases.hashicorp.com/vagrant/1.9.0/
$ vagrant -v
Vagrant 1.9.0
Plugins
$ vagrant plugin list
...
vagrant-vbguest (0.13.0)
...
If the plugin isn't installed. Install the plugin with the following command
$ vagrant plugin install vagrant-vbguest
Virtualbox
download: https://www.virtualbox.org/wiki/Downloads
Lenovo@LENOVO-THINK C:\Program Files\Oracle\VirtualBox
$ VBoxManage -v
5.1.14r112924
**Centos7 ***
$ vagrant box list
...
centos/7 (virtualbox, 1611.01)
...
config.vbguest.auto_update = true
Vagrantfile example
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vbguest.auto_update = true
config.vm.box = "centos/7"
config.vm.hostname = "keyCloak"
config.vm.network "private_network" , ip: "10.100.193.20"
config.vm.synced_folder "./data", "/vagrant_data"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
end
What's synced_folder options? rsync?