I have a shell script in /etc/profile.d that adds some directories to my $PATH, but vagrant doesn't see when running a privileged provisioning script. This uses sudo and sudo does not see this modified $PATH.
Is there a way to get vagrant to see this path?
EDIT: Added some clarifying words. I'm just looking for how to modify the $PATH in a privileged provisioning script.