Skip to content

Commit

Permalink
Revert "should create virtualbox sync host path if it does not exists #…
Browse files Browse the repository at this point in the history
…382"

This reverts commit 7524cbe.
  • Loading branch information
hoatle committed Jul 12, 2018
1 parent e0d6bf8 commit fc692c0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,8 @@ Vagrant.configure("2") do |config|
options[:smb_host] = item['smb_host'] unless item['smb_host'].nil? or item['smb_host'].empty?
options[:smb_password] = item['smb_password'] unless item['smb_password'].nil? or item['smb_password'].empty?
options[:smb_username] = item['smb_username'] unless item['smb_password'].nil? or item['smb_password'].empty?
when 'virtual_box'
if not Dir.exist?(File.dirname(__FILE__) + '/' + item['host']) and item['auto_create'] == true
FileUtils.mkdir_p File.dirname(__FILE__) + '/' + item['host']
end
end

if item['supports'].nil? or item['supports'].include?(host_os_type)
config.vm.synced_folder item['host'], item['guest'], options
end
Expand Down

0 comments on commit fc692c0

Please sign in to comment.