Linux ortamda Vagrant Virtualbox provider sorunu

Esenlikler,

Linux sunucularda vagrant ile test ortamı oluşturmaya çalıştığımızda virtualbox provider ına değil de libvirt provider a gitmeye çalışıyorsa aşağıdaki adımları uygulayarak çözüme gidebilirsiniz.

HATA #

Bringing machine 'ansibledeney' up with 'libvirt' provider...
==> ansibledeney: Box 'ubuntu/jammy64' could not be found. Attempting to find and install...
    ansibledeney: Box Provider: libvirt
    ansibledeney: Box Version: >= 0
==> ansibledeney: Loading metadata for box 'ubuntu/jammy64'
    ansibledeney: URL: https://vagrantcloud.com/ubuntu/jammy64
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.

Name: ubuntu/jammy64
Address: https://vagrantcloud.com/ubuntu/jammy64
Requested provider: [:libvirt]

sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
sudo dnf update

❗ Diğer sürümlere ait repolar: https://developer.hashicorp.com/vagrant/downloads

echo "export VAGRANT_DEFAULT_PROVIDER=virtualbox" >> ~/.bashrc
source ~/.bashrc
İçeriği paylaş:

× Yazılan içerik ile ilgili her türlü soru, şikayet ve öneriniz için ePosta gönderebilirsiniz.
Etiket: Linux, Vagrant, VirtualBox, Vagrant Provider