Answer the question
In order to leave comments, you need to log in
Why does vagrant up require rsync for debian/jessie64?
I do in Windows7 vagrant up for debian/jessie64 box and get an error:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'debian/jessie64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'debian/jessie64' is up to date...
==> default: Setting the name of the VM: farmiya_cards_default_1448998917763_52769
"rsync" could not be found on your PATH. Make sure that rsync
is properly installed on your system and available on the PATH.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/jessie64"
config.vm.network :forwarded_port, guest: 80, host: 81
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 1024]
vb.customize ["modifyvm", :id, "--cpus", 1]
end
end
Answer the question
In order to leave comments, you need to log in
Fuck you... it turns out that boxing has a default config in ~/.vagrant.d which says:
Vagrant.configure("2") do |config|
config.vm.synced_folder \
".",
"/vagrant",
type: "rsync"
end
config.vm.synced_folder ".", "/vagrant", disabled: true
The option to disable synchronized_folder is bad because you won't have shared directories with the virtual machine.
The problem with debian/jessie64 box version >=8.2.2 is that VirtualBox Guest Additions are not installed there.
In order to solve this problem, it is enough to install the vagrant-vbguest plugin:
And write in the Vagrantfile:
After that, re-create the box and everything will work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question