On your Guest OS there will be a folder under /
called /vagrant/
this will be all the files and directories under the directory on your host
machine that contains the .VagrantFile
If you put your script in that folder they will be shared with the VM.
Additionally if you are using chef
as your provisioner you can use a script
resource to run external scripts during the provisioning step.