Fix bug with mount vboxfs in SLES 11 boxes. Issue #251
This commit is contained in:
parent
8abdfe7b27
commit
cdbe14c09e
|
@ -92,8 +92,8 @@ module Vagrant
|
||||||
def mount_folder(ssh, name, guestpath, sleeptime=5)
|
def mount_folder(ssh, name, guestpath, sleeptime=5)
|
||||||
# Determine the permission string to attach to the mount command
|
# Determine the permission string to attach to the mount command
|
||||||
perms = []
|
perms = []
|
||||||
perms << "uid=#{vm.env.config.vm.shared_folder_uid}"
|
perms << "uid=`id -u #{vm.env.config.vm.shared_folder_uid}`"
|
||||||
perms << "gid=#{vm.env.config.vm.shared_folder_gid}"
|
perms << "gid=`id -g #{vm.env.config.vm.shared_folder_gid}`"
|
||||||
perms = " -o #{perms.join(",")}" if !perms.empty?
|
perms = " -o #{perms.join(",")}" if !perms.empty?
|
||||||
|
|
||||||
attempts = 0
|
attempts = 0
|
||||||
|
|
Loading…
Reference in New Issue