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: https://vagrantcloud.com/centos/7 ==> default: Adding box ‘centos/7’ (v2004.01) for provider: virtualbox default: Downloading: https://vagrantcloud.com/centos/boxes/7/versions/2004.01/providers/virtualbox.box ==> default: Box download is resuming from prior download progress Download redirected to host: cloud.centos.org 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|
  config.vm.box = "centos/7"
end
  1. Save and exit.
  2. Run vagrant up

Successfully installed as below: