Vagrant with VirtualBox on Windows10: “Rsync” could not be found on your PATH

后端 未结 8 1887
情深已故
情深已故 2021-01-29 20:21

I\'ve used Vagrant for a while on a windows 7 system. Now I\'ve a new PC with windows 10. I installed Oracle Virtual Box and Vagrant and I try to start a machine with the comman

相关标签:
8条回答
  • 2021-01-29 21:19

    I've tried the advises above but it didn't help. I use Windows 7, vagrant 1.9.1 As vm box I use centos 7 without guest addition installed.

    vm.box = "centos/7"

    To resolve this issue change clean 'vm.box' to box with preinstalled guest addition, for example

    vm.box = "geerlingguy/centos7"

    And also make sure there is no vbguest plugin installed because another error appears

    vagrant plugin list

    vagrant plugin uninstall vagrant-vbguest

    0 讨论(0)
  • 2021-01-29 21:23

    I was facing same issue on Windows 10. Removing the below line helped me to fix the issue

    Directory: C:\Users\xxxxxxxxxxxxx.vagrant.d\boxes\manageiq-VAGRANTSLASH-euwe\5.1.0\virtualbox

    File: VagrantFile

    Line to remove: config.vm.synced_folder ".", "/home/vagrant/sync", type: "rsync"

    Next Steps:

    Save the file Open cygwin terminal Go to vagrant directory Run "vagrant up"

    0 讨论(0)
提交回复
热议问题