mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Added vagrant-libvirt-doc rpm and polkit rule
This commit is contained in:
parent
9cf596564a
commit
49c48aa953
18
workshop.rst
18
workshop.rst
@ -96,10 +96,24 @@ Fedora
|
||||
^^^^^^
|
||||
|
||||
If you intend to use the ``libvirt`` provider (recommended), install
|
||||
``vagrant-libvirt``::
|
||||
``vagrant-libvirt`` and ``vagrant-libvirt-doc``::
|
||||
|
||||
$ sudo dnf install -y vagrant-libvirt
|
||||
$ sudo dnf install -y vagrant-libvirt vagrant-libvirt-doc
|
||||
|
||||
Allow your regular user ID to start and stop Vagrant boxes. A PolicyKit rule
|
||||
will be added that allows users in the vagrant group to control VMs through
|
||||
libvirt. The necessary rule is included in the ``vagrant-libvirt-doc``
|
||||
package. Run the following commands to add your local user to the vagrant
|
||||
group and to copy the necessary rule to the right place::
|
||||
|
||||
$ usermod -a -G vagrant $USER
|
||||
$ cp /usr/share/vagrant/gems/doc/vagrant-libvirt-*/polkit/10-vagrant-libvirt.rules \
|
||||
/etc/polkit-1/rules.d
|
||||
|
||||
Finally restart the services::
|
||||
|
||||
$ systemctl restart libvirtd
|
||||
$ systemctl restart polkit
|
||||
|
||||
Otherwise, you will use VirtualBox and the ``virtualbox`` provider.
|
||||
VirtualBox needs to build kernel modules, and that means that you must
|
||||
|
Loading…
Reference in New Issue
Block a user