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

Vagrant/libvirt #13150

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Vagrant/libvirt #13150

wants to merge 2 commits into from

Conversation

fabrixxm
Copy link
Collaborator

As seems impossible (or at least not easy) to have a single Vagrantfile
with suitable configuration for different backends, this commit add two
backend-specific Vagrantfile.
It's up to the user to choose which to symlink (or copy) to Vagranfile
before running vagrant.

  • Rename Vagrantfile to Vagrantfile.vbox
  • Add Vagrantfile.libvirt
  • Add libvirt specific provision script
  • Add 'Vagrantfile' to gitignore

fabrixxm added 2 commits May 21, 2023 12:03
As seems impossible (or at least not easy) to have a single Vagrantfile
with suitable configuration for different backends, this commit add two
backend-specific Vagrantfile.
It's up to the user to choose which to symlink (or copy) to `Vagranfile`
before running vagrant.

- Rename Vagrantfile to Vagrantfile.vbox
- Add Vagrantfile.libvirt
- Add libvirt specific provision script
- Add 'Vagrantfile' to gitignore
@fabrixxm
Copy link
Collaborator Author

I have this on disk from a while now. Maybe could be useful?

@nupplaphil
Copy link
Collaborator

I'm using libvirt and KVM for a long time with the current vargrantfile. The only thing was to replace the sync folder to use nfs.

What are your current pitfalls when using libvirt?

I'm open about this change, but it sounds strange for me that I don't experience problems :D

@fabrixxm
Copy link
Collaborator Author

I don't remember, but I'm not expert in Vagrant nor a fan of Ruby, so could be that I overlooked something.

One thing that I remember is that it was raising the "vagrant-vbguest plugin is not installed!" error despite telling vagrant to use libvirt and not having virtualbox installed at all on the system.

Anyway I haven't tried that for a while: I was tiding up my disk a little and I thought it could be useful.. I'll leave to vagrant experts to decide what to do.

@MrPetovan
Copy link
Collaborator

@tobiasd You're familiar with Vagrant, aren't you?

@tobiasd
Copy link
Collaborator

tobiasd commented Oct 4, 2023

In case this PR shall be part of the 2023.09 (10) release, please redirect it towards the 2023.09-rc branch.

@tobiasd
Copy link
Collaborator

tobiasd commented Oct 4, 2023

@tobiasd You're familiar with Vagrant, aren't you?

I could get it working on my notebook without much troubles, but have not looked into it for some time now.

@tobiasd tobiasd removed this from the 2023.09 milestone Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants