The installation of a box is also easily done. There are couple tasks which we have to do before that:

Create a new folder

From that folder download the box

Install the box

Let's start going:

Basic Box Configuration

Download + Install the Box

The box will be downloaded from the official site: https://app.vagrantup.com/boxes/search

Also, you can check the link for the box from the download configuration file:

PS E:\Virtuals\Ainsible> vagrant box add centos/7 ==> box: Loading metadata for box 'centos/7' box: URL: https://vagrantcloud.com/centos/7 This box can work with multiple providers! The providers that it can work with are listed below. Please review the list and choose the provider you will be working with. 1) hyperv 2) libvirt 3) virtualbox 4) vmware_desktop Enter your choice: 3 ==> box: Adding box 'centos/7' (v1804.02) for provider: virtualbox box: Downloading: https://vagrantcloud.com/centos/boxes/7/versions/1804.02/providers/virtualbox.box box: Download redirected to host: cloud.centos.org box: Progress: 100% (Rate: 437k/s, Estimated time remaining: --:--:--) ==> box: Successfully added box 'centos/7' (v1804.02) for 'virtualbox'!

Start the box

After the box have been downloaded, we are free to initialize it and import it as follows:

Install Guest Plugin

In order to install the guest plugin, you have to run it from the folder of the box: