Expand symlinks for NFS host path [GH-1101]
This commit is contained in:
parent
e941c549f2
commit
78ef3ded2b
|
@ -20,6 +20,8 @@ BUG FIXES:
|
|||
may be in the box itself. [GH-1061]
|
||||
- NFS synced folders exporting sub-directories of other exported folders now
|
||||
works properly. [GH-785]
|
||||
- NFS shared folders properly dereference symlinks so that the real path
|
||||
is used, avoiding mount errors [GH-1101]
|
||||
|
||||
## 1.2.3 (July 9, 2013)
|
||||
|
||||
|
|
|
@ -37,7 +37,9 @@ module Vagrant
|
|||
|
||||
# Expand the host path, create it if we have to and
|
||||
# store away the folder.
|
||||
hostpath = Pathname.new(opts[:hostpath]).expand_path(env[:root_path])
|
||||
hostpath = Pathname.new(opts[:hostpath]).
|
||||
expand_path(env[:root_path]).
|
||||
realpath
|
||||
|
||||
if !hostpath.directory? && opts[:create]
|
||||
# Host path doesn't exist, so let's create it.
|
||||
|
|
Loading…
Reference in New Issue