Provisioning is an optional step that occurs after vagrant brings up the guest VM.
In your Vagrantfile, you can specify provisioning steps. The two kinds of provisioning I'm familiar with are shell and ansible. Shell provisioning is most often done with shell scripts included in the Vagrantfile, but can be done with external scripts. Ansible provisioning starts by pointing to an Ansible playbook. It's also possible to do the equivalent of shell provisioning with Powershell on Windows guests, but I've never tried that. What does provisioning do? There's a split. Many aspects of setting up a guest can be done by preparing a specialized "box" for Vagrant to load. But when you are starting with a more generic box, the provisioning step can be used to install additional software packages or configure the VM to work in a particular environment or relationship. -- jmcg On Monday, January 25, 2021 at 8:51:36 AM UTC-5 Solanki Ketul wrote: > Hello, > I have some confusion. What does provisioning actually do? Which > are the files which run on provisioning? What is the need for provisioning? > > I couldn't find a satisfactory answer on google. > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/vagrant/issues Discuss: https://discuss.hashicorp.com/c/vagrant/24 --- 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 vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a37aee71-0fe0-43d6-aec2-b993b8d3ec37n%40googlegroups.com.