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

recursive file copy provider #1

Open
0xmilkmix opened this issue May 24, 2020 · 0 comments
Open

recursive file copy provider #1

0xmilkmix opened this issue May 24, 2020 · 0 comments

Comments

@0xmilkmix
Copy link
Contributor

Hello,

While trying to start the Vagrant environment on macOS using VMWare Fusion, I entered in the following SCP error: ERROR warden: Error occurred: SCP did not finish successfully (1):.

Runnig Vagrant with --debug I noticed that files from .vagrant were also copied to the VM, due to the source="." in the config file. I think that there is an issue here as the vmdk itself will get copied in the VM. Now I'm wondering if I'm correct with the error here since no one opened such an issue :)

I would recommend splitting config.vm.provision "file", source: ".", destination: "/home/vagrant/" in several actions, one per folder or specific file to copy. wdyt?

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant