Merge pull request #8433 from legal90/fix-os-friendly-name

virtualbox: Fix invalid share names in Windows guests
This commit is contained in:
Chris Roberts 2017-05-01 15:49:13 -07:00 committed by GitHub
commit 023a23403a
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module VagrantPlugins
end end
def os_friendly_id(id) def os_friendly_id(id)
id.gsub(/[\/]/,'_').sub(/^_/, '') id.gsub(/[\/\\]/,'_').sub(/^_/, '')
end end
# share_folders sets up the shared folder definitions on the # share_folders sets up the shared folder definitions on the