Box added to list but vagrant up is throwing error box doesn't exist

7 views
Skip to first unread message

Saurabh kumar

unread,
Jan 27, 2020, 7:12:04 AM1/27/20
to Vagrant
[root@host-server vagrant]# vagrant box list
centos/7                 (libvirt, 1905.1)
cirros                   (libvirt, 0)
abc-4g_3.5-127-17Dec2019 (libvirt, 0)


Vagrant file: 
# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at

  # Every Vagrant development environment requires a box. You can search for
  config.vm.box = "abc-4g_3.5-127-17Dec2019"
  config.ssh.username = "user"
  config.ssh.password = "user123"
  config.vm.provider "libvirt" do |v|
        v.memory = 8192
        v.cpus = 4
    end
end


[root@host-server vagrant]# vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Uploading base box image as volume into libvirt storage...
The box 'abc-4g_3.5-127-17Dec2019' does not exist. Please double check and
try again. You can see the boxes that are installed with
`vagrant box list`.

Reply all
Reply to author
Forward
0 new messages