0
形式的rsync這是Vagrantfile:流浪正在尋找在Windows
# -*- 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
份額類型是「尖兒」,我可以看到任何爲什麼vagrant正在搜索rsync的原因。有任何想法嗎?如果有問題,我使用virtualbox作爲提供者。我嘗試刪除類型參數,但它不起作用。當我複製Vagrantfile時,共享類型是「nsf」,它需要rsync。