Skip to content

Instantly share code, notes, and snippets.

@flavio-fernandes
Created November 17, 2019 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save flavio-fernandes/5a16b38544bfd842798d1a5acd2fae3e to your computer and use it in GitHub Desktop.
Save flavio-fernandes/5a16b38544bfd842798d1a5acd2fae3e to your computer and use it in GitHub Desktop.
Trying vagrant centos 8
# Ref: https://app.vagrantup.com/centos
$ vagrant init centos/8
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
$ grep box Vagrantfile
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "centos/8"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# config.vm.provider "virtualbox" do |vb|
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'centos/8' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'centos/8' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://vagrantcloud.com/centos/8"]
Error: The requested URL returned error: 404 Not Found
(venv) OSX ~/c8vm/x on master
$
----
Also trying on libvirt provider...
$ vagrant init centos/8
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'centos/8' could not be found. Attempting to find and install...
default: Box Provider: libvirt
default: Box Version: >= 0
The box 'centos/8' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://vagrantcloud.com/centos/8"]
Error: The requested URL returned error: 404 Not Found
Lenovo ~
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment