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

implemented fix for macOS/Fusion recursive error #2

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

0xmilkmix
Copy link
Contributor

@0xmilkmix 0xmilkmix commented May 26, 2020

issue

analysis

Default directory for clones is ./.vagrant on for vmware_fusion provider so scp was trying to copy the .vmdk to the VM itself due to the following directive in Vagrantfile:

config.vm.provision "file", 
    source: ".", 
	destination: "/home/vagrant/"

solution

Added condition to store vmdk in default Fusion folder on macOS using a filter on the host OS and on the used provider.

Thanks for the cool CTF!

added condition to store vmdk in default Fusion folder on macOS. That way, `scp` does not try to copy the VM vmdk to itself :) (default directory for clones is `./.vagrant` on this provider.
Copy link
Owner

@NodyHub NodyHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no darwin system to verify the change. I trust in your expertise

@NodyHub NodyHub merged commit 463816d into NodyHub:master Jul 10, 2020
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

Successfully merging this pull request may close these issues.

2 participants