From Fedora Project Wiki

Revision as of 16:19, 8 February 2019 by Churchyard (talk | contribs) (fix releng issue link)

Vagrant 2.2

Summary

Upgrade to Vagrant 2.2, the latest stable version of Vagrant. Enable QEMU Session by default.

Owner

Current status

  • Targeted release: Fedora 30
  • Last updated: 2019-02-08
  • Tracker bug: <will be assigned by the Wrangler>
  • Release Notes tracker: #8085

Detailed Description

Vagrant 2.2 is new upstream's major release, that includes many features, improvements, and and bug fixes. Using qemu:///session instead of qemu:///system Vagrant will run unprivileged.

Benefit to Fedora

  • Enable QEMU Session by default. With this, there's no need for user to input any password, or be present in some group. Everyone is able to use Vagrant, regardless of group or other ACLs.
  • Add host support for void linux
  • Add support for VirtualBox 6.0
  • Add command for uploading files to guest

Scope

Upgrade/compatibility impact

Because of QEMU Session enabled by defailt, a failure occurs with if Vagrantfile contains: ` test_vm.vm.network :private_network, :ip => "172.16.0.2" ` or similar. Can be solved by setting libvirt.qemu_use_session = false in Vagrantfile.

How To Test

  • No special hardware is needed.
  • Install Vagrant
  • Run `vagrant version`
  • Use your Vagrantfiles or create new as before
  • If something doesn't work as it should, let us know.

User Experience

New features that come with Vagrant 2.2 will be available. Users will not need to add themseles to any group, or have root ACLs and input a password every time they use Vagrant.

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change)
  • Blocks product? N/A (not a System Wide Change)

Documentation

https://www.vagrantup.com/docs/

Release Notes

https://github.com/hashicorp/vagrant/blob/master/CHANGELOG.md