Vagrant Setup issues

I got below message while running vagrant up . And it was taking more time .Please help me to understand what went wrong? Bringing machine ‘default’ up with ‘virtualbox’ provider… ==> default: Box ‘centos/7’ could not be found. Attempting to find and install… default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box ‘centos/7’ default: URL: ==> default: Adding box ‘centos/7’ (v2004.01) for provider: virtualbox default: Downloading: ==> default: Box download is resuming from prior download progress Download redirected to host: Progress: 0% (Rate: 3335/s, Estimated time remaining: 29:03:24)

I tried with the steps below and it works fine:

  1. Run vi Vagrantfile
  2. adding the following content to it:
Vagrant.configure("2") do |config| = "centos/7"
  1. Save and exit.
  2. Run vagrant up

Successfully installed as below: