Skip to content

Instantly share code, notes, and snippets.

@ericmann
Created August 21, 2015 18:23
Show Gist options
  • Save ericmann/106a8ff6ebf429e3a0ab to your computer and use it in GitHub Desktop.
Save ericmann/106a8ff6ebf429e3a0ab to your computer and use it in GitHub Desktop.
Hyper-V and Samba Customfile
config.vm.provider :hyperv do |v, override|
override.vm.box = "ericmann/trusty64"
end
config.vm.synced_folders.each do |id, options|
# Make sure we use SMB for file mounts on Windows
if ! options[:type] && Vagrant::Util::Platform.windows?
options[:type] = "smb"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment