Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run with libvirt #8

Open
marek22k opened this issue Jul 6, 2024 · 0 comments
Open

Failed to run with libvirt #8

marek22k opened this issue Jul 6, 2024 · 0 comments

Comments

@marek22k
Copy link

marek22k commented Jul 6, 2024

Hello,

for Ubuntu only VirtualBox seems to be available as a provider. It would be nice if libvirt is added.

$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'ripencc/bgpseclab' could not be found. Attempting to find and install...
    default: Box Provider: libvirt
    default: Box Version: >= 0
==> default: Loading metadata for box 'ripencc/bgpseclab'
    default: URL: https://vagrantcloud.com/api/v2/vagrant/ripencc/bgpseclab
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: ripencc/bgpseclab
Address: https://vagrantcloud.com/api/v2/vagrant/ripencc/bgpseclab
Requested provider: libvirt (amd64)

I also had problems with Ansible provisioning. Adding config.vm.synced_folder ".", "/vagrant", create: true solves this issue.

Furthermore, images.linuxcontainers.org apparently no longer provides Ubuntu images for LXD, there is a bug report with workaround at ansible-collections/community.general#8161 .

TASK [Create Ubuntu container for server] **************************************
fatal: [default]: FAILED! => {"actions": [], "changed": false, "msg": "Failed getting remote image info: Failed getting image: The requested image couldn't be found for fingerprint \"ubuntu/jammy\""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant