Restore correct pathing

This commit is contained in:
Evan Borgstrom 2013-10-17 22:45:23 -04:00
parent ebb85b57fd
commit 9c8ead1ca3
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ module VagrantPlugins
group = options[:group] group = options[:group]
# Create the shared folder # Create the shared folder
machine.communicate.execute("#{machine.config.solaris.suexec_cmd} mkdir -p #{guestpath}") machine.communicate.execute("#{machine.config.solaris11.suexec_cmd} mkdir -p #{guestpath}")
if owner.is_a? Integer if owner.is_a? Integer
mount_uid = owner mount_uid = owner
@ -34,10 +34,10 @@ module VagrantPlugins
mount_options += ",#{options[:mount_options].join(",")}" mount_options += ",#{options[:mount_options].join(",")}"
end end
machine.communicate.execute("#{machine.config.solaris.suexec_cmd} /sbin/mount -F vboxfs #{mount_options} #{name} #{guestpath}") machine.communicate.execute("#{machine.config.solaris11.suexec_cmd} /sbin/mount -F vboxfs #{mount_options} #{name} #{guestpath}")
# chown the folder to the proper owner/group # chown the folder to the proper owner/group
machine.communicate.execute("#{machine.config.solaris.suexec_cmd} chown #{mount_uid}:#{mount_gid} #{guestpath}") machine.communicate.execute("#{machine.config.solaris11.suexec_cmd} chown #{mount_uid}:#{mount_gid} #{guestpath}")
end end
end end
end end