Providers (vm.provider): Where the Box / OS Lives
What is a provider?
Provider simply means where the box (our virtual dev environment) is going to live. Default is VirtualBox but you can use others such as VMWare or Mac Parallels.
I'd advise you to stick to VirtualBox unless you know what you're doing.
Setting the Provider
Virtualbox is set by default, but let's just add this to the
Vagrantfile for clarity of what is going on:
Table of Contents
config.vm.provider "virtualbox" do |vb| end
You can see that you have full control over the provider, so if you wanted to do custom settings or anything like that. For example:
config.vm.provider "virtualbox" do |vb| # Customize the amount of memory on the VM: vb.memory = 4096 vb.cpus = 4 end
For now, probably don't mess with this. We'll touch on this a little more later in the course.