-
Notifications
You must be signed in to change notification settings - Fork 256
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-libvirt: update installation instructions #454
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -6,10 +6,11 @@ order: 2 | |||||
|
||||||
# Vagrant with libvirt support installation | ||||||
|
||||||
To use Vagrant with libvirt, you need to install the `vagrant-libvirt` package: | ||||||
To use Vagrant with libvirt, you need to install the `vagrant-libvirt` package and the `virtualization` group: | ||||||
|
||||||
``` | ||||||
$ sudo dnf install vagrant-libvirt | ||||||
$ sudo dnf group install virtualization | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not think this is needed. vagrant-libvirt should pull in all that is required. |
||||||
``` | ||||||
|
||||||
There is also *@vagrant* package collection created with libvirt provider in mind. With the following command you can install all necessary Vagrant packages as well: | ||||||
|
@@ -18,10 +19,11 @@ There is also *@vagrant* package collection created with libvirt provider in min | |||||
$ sudo dnf install @vagrant | ||||||
``` | ||||||
|
||||||
Afterwards make sure that libvirt daemon is running and that you have `kvm` module loaded in the kernel: | ||||||
Afterwards make sure that libvirt and virtnetworkd daemons are running and that you have `kvm` module loaded in the kernel: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From how packaged libvirt daemons are right now in Fedora, the maintainer insists reboot is needed for everything to work properly. |
||||||
|
||||||
``` | ||||||
$ sudo systemctl enable libvirtd | ||||||
$ sudo systemctl enable --now libvirtd | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
$ sudo systemctl enable --now virtnetworkd | ||||||
$ lsmod | grep kvm | ||||||
kvm_intel 167936 3 | ||||||
kvm 499712 1 kvm_intel | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.