I've got a situation where I'd like to parametrize the mount_options of a config.vm.synced_folder call in a Vagrantfile based on whether a user account exists in the guest or not. (Creating the account through provisioning is not an option here.) I could create a very simple inline shell provisioning script to make the check, but I don't know if it's possible to assign its output into a variable that I could examine later in the Vagrantfile.
Is this doable and if so, how? I'm unfamiliar with Ruby, sadly, so I'll probably need any solutions to be spelled out :-). -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
