Restore correct pathing
This commit is contained in:
parent
ebb85b57fd
commit
9c8ead1ca3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue