Skip to content

Vagrant with libvirt and static ip addresses #402

@tuupola

Description

@tuupola

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions