Using the trigger methods.
Why is it still not possible for the following to work.
trigger.before :synced_folder do |trigger|
trigger.info = “SOMETHING PRE mount, like add a user to guest”
end
expected behavour
run block above in trigger before synced_folder actions.
actual happens
ignored
if the :sync_folders is changed to :up, then it runs the block pre up.
we need a way of poking commands pre mount.
this is to allow flexiable control of mount owner /group options.
Workaround is to hardcode an id number!
create a section for guest inline shell pre mount