File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,43 @@ source ~/.zshrc
37
37
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist
38
38
```
39
39
40
+ ### Fedora with libvirt
41
+
42
+ ## Setting up
43
+
44
+ 1 . Install prerequisites:
45
+
46
+ ``` bash
47
+ dnf install -y @virtualization @vagrant libvirt-devel
48
+ systemctl enable --now virtqemud.service
49
+ systemctl enable --now virtnetworkd.service
50
+ ```
51
+
52
+ 1 . Add your user to libvirt group
53
+
54
+ ``` bash
55
+ usermod -aG libvirt $USER
56
+ ```
57
+
58
+ 1 . Log out so that your user is recognized as a group member (alternatively, restart your computer)
59
+
60
+ ``` bash
61
+ loginctl terminate-user $USER
62
+ ```
63
+
64
+ 1 . Install the libvirt provider in vagrant. This should be done by package management and may become unnecessary in the future:
65
+
66
+ ``` bash
67
+ vagrant plugin install vagrant-libvirt
68
+ ```
69
+
70
+ 1 . Set your default provider to libvirt
71
+
72
+ ``` bash
73
+ echo ' export VAGRANT_DEFAULT_PROVIDER=libvirt' >> ~ /.bashrc
74
+ source ~ /.bashrc
75
+ ```
76
+
40
77
### Other
41
78
42
79
Please install Vagrant and a Vagrant-compatible provider such as VirtualBox:
You can’t perform that action at this time.
0 commit comments