Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The synced_folder does not work on generic/centos7 #50

Closed
nitsh opened this issue May 10, 2019 · 2 comments
Closed

The synced_folder does not work on generic/centos7 #50

nitsh opened this issue May 10, 2019 · 2 comments

Comments

@nitsh
Copy link

nitsh commented May 10, 2019

I'm using generic/centos7 with the following configuration

Vagrant.configure("2") do |config|
    config.vm.define "cent7" do |cent7|
        cent7.vm.box = "generic/centos7"
        cent7.vm.network "private_network", ip: "172.20.120.10"
        cent7.vm.synced_folder "bin/", "/vagrant/bin"
    end
end

But there seems to be some issue related to synced_folder. I'm seeing the following error when I run vagrant up cent7

An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["enableSharedFolders", "/Users/nalluri/Projects/consul-client/.vagrant/machines/cent7/vmware_desktop/f2febc17-913d-48b4-b94a-f5dc84e46f12/generic-centos7-vmware.vmx", {:notify=>[:stdout, :stderr]}]

Stdout: Error: There was an error mounting the Shared Folders file system inside the guest operating system

Stderr:
@nitsh nitsh changed the title The synced_folder do not work on generic/centos7 The synced_folder does not work on generic/centos7 May 10, 2019
@ladar
Copy link
Member

ladar commented May 29, 2019

I'm sorry, but I need more information. Is there a change to the scripts/centos7/vmware.sh script you can suggest that will fix this issue? I don't personally use shared folders, so it's not part of my test regimen. I use the vagrant upload command.

@nitsh
Copy link
Author

nitsh commented May 31, 2019

I'm not sure if there is a solution, but my issue was resolved using vagrant rsync command from here : https://www.vagrantup.com/docs/synced-folders/rsync.html

So, maybe we can just close the issue.

@nitsh nitsh closed this as completed May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants