Home > bash, vagrant > Specify a default provider for vagrant

Specify a default provider for vagrant

Problem:
I got tired of specifying the provider. The default provider was vmware_fusion.

$ vagrant up --provider virtualbox

Solution:
As per the documentation.

export VAGRANT_DEFAULT_PROVIDER="virtualbox";

So now all I do is

$ vagrant up

Source:
https://www.vagrantup.com/docs/providers/default.html

Advertisements
Categories: bash, vagrant Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: