pub fn libvirt_script(user: Option<&str>) -> RootScriptExpand description
libvirt, with what vagrant plugin install vagrant-libvirt compiles against: libvirt’s headers
(libvirt-dev), a C compiler and make (build-essential), pkg-config, and Ruby’s headers
for a distribution’s Vagrant (which builds on the system Ruby). Without them the plugin’s
install fails building its native extension. With the programs its VMs need beside it
(apt_install_with_helpers). Then the user joins the libvirt group (and kvm, where the
distribution has one), so Vagrant reaches qemu:///system and /dev/kvm without root; the
groups apply from the next login.