Vagrant 流浪汉正在windows上搜索rsync表单

Vagrant 流浪汉正在windows上搜索rsync表单,vagrant,vagrantfile,vagrant-windows,vagrant-provision,Vagrant,Vagrantfile,Vagrant Windows,Vagrant Provision,这是流浪汉档案: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define :sylius do |sylius_config| sylius_config.vm.box = "debian/jessie64" sylius_

这是流浪汉档案:

# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
    config.vm.define :sylius do |sylius_config|
        sylius_config.vm.box = "debian/jessie64"

        sylius_config.vm.provider "virtualbox" do |v|
            v.gui = false
            v.memory = 1024
            v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
        end

        sylius_config.vm.synced_folder "sites/", "/var/www/sites", type: "smb" ,mount_options: ['rw', 'vers=3', 'tcp', 'fsc', 'nolock', 'actimeo=2']
        sylius_config.vm.network "private_network", ip: "10.0.0.200"

        # Shell provisioning
        sylius_config.vm.provision :shell, :path => "shell_provisioner/run.sh"
        sylius_config.vm.provision :shell, privileged: false, path: "shell_provisioner/module/sylius.sh"
    end
end
当我输入“流浪者”时,我得到:

==> sylius: Checking if box 'debian/jessie64' is up to date...
"rsync" could not be found on your PATH. Make sure that rsync
is properly installed on your system and available on the PATH

共享类型是“smb”,我可以理解vagrant搜索rsync的任何原因。有什么想法吗?如果这很重要的话,我将使用virtualbox作为提供者。我试图删除类型参数,但没有成功。复制Vagrant文件时,共享类型为“nsf”,需要rsync。

此框有一个默认的同步文件夹,其类型为
rsync
类型

如果您查找box的vagrant文件(在mac上,它位于~/.vagrant.d/box/debian-VAGRANTSLASH-jessie64//virtualbox/Vagrantfile下)

您需要编辑并更改此文件,或者在当前文件中,覆盖默认类型或smb类型的类型

Vagrant.configure("2") do |config|
  config.vm.base_mac = "0800278dc04d"
  config.vm.synced_folder ".", "/vagrant", type: "rsync"
  config.vm.post_up_message = "Vanilla Debian box. See https://atlas.hashicorp.com/debian/ for help and bug reports"
   #TODO check if this is still needed now that we use import2vox
  config.vm.provider "virtualbox" do |v|
      v.customize ["modifyvm", :id, "--cableconnected1", "on"]
  end

end