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 with libvirt and static ip addresses #402

Open
tuupola opened this issue Oct 31, 2021 · 1 comment
Open

Vagrant with libvirt and static ip addresses #402

tuupola opened this issue Oct 31, 2021 · 1 comment

Comments

@tuupola
Copy link

tuupola commented Oct 31, 2021

The instructions at page Vagrant with libvirt support installation will not work if using distro installed vagrant-libvirt and static ip addresses. Problem can be fixed by telling vagrant-libvirt to use qemu:///system instead of qemu:///session as the connection.

Vagrant.configure("2") do |config|
  config.vm.provider :libvirt do |libvirt|
    libvirt.qemu_use_session = false
  end
end

Tested with fresh install of Fedora 34 (Workstation Edition). For more information see vagrant-libvirt/vagrant-libvirt#1389

@pvalena
Copy link
Contributor

pvalena commented Nov 12, 2021

Hello, thanks for the report!

Yes, you're right, at this point there's no support for that, but hopefully it will be fixed soon.
https://fedoraproject.org/wiki/Changes/Vagrant_2.2_with_QEMU_Session

Let's add a note into the guide for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants