|
| 1 | +# 5.11 fails due to #20198 |
| 2 | +# "cannot create network; /dev/vboxnet does not exist" |
| 3 | + |
| 4 | +1. update to latest: |
| 5 | + # dnf distro-sync |
| 6 | + # reboot |
| 7 | + |
| 8 | +2. install infrastructure software |
| 9 | + # dnf install vagrant vagrant-libvirt libvirt-client |
| 10 | + # dnf install libvirt-daemon-config-network libvirt-daemon-kvm qemu-kvm virt-manager virt-viewer |
| 11 | + # dnf install libguestfs-tools python3-libguestfs virt-top |
| 12 | + # |
| 13 | + VirtualBox prerequisite RPMS |
| 14 | + # dnf install python2.7 binutils gcc make patch libgomp glibc-headers glibc-devel qt5-qtx11extras libxkbcommon |
| 15 | + Depending on what kernel is running, you may need to do: |
| 16 | + # yum install "kernel-devel-*$(uname -r)" |
| 17 | + # dnf install kernel-headers kernel-devel dkms |
| 18 | + VirtualBox |
| 19 | + retrieve VirtualBox installer |
| 20 | + % wget https://download.virtualbox.org/virtualbox/6.1.18/VirtualBox-6.1.18-142142-Linux_amd64.run |
| 21 | + # chmod +x VirtualBox-6.1.18-142142-Linux_amd64.run |
| 22 | + # ./VirtualBox-6.1.18-142142-Linux_amd64.run |
| 23 | + add user to vboxusers group |
| 24 | + |
| 25 | +3. a. set permissions & ownership on /run/libvirt/*sock* |
| 26 | + b. ensure in libvirt, libvirtd, wheel, root, qemu, kvm groups |
| 27 | +4. ensure sufficient space |
| 28 | +5. Start nfs service |
| 29 | + edit /etc/nfs.conf, making sure that nfsd and at least one nfs protocol version is enabled, preferably 4.2 |
| 30 | + # systemctl enable nfs-server ; systemctl start nfs-server |
| 31 | + # systemctl enable libvirtd ; systemctl start libvirtd |
| 32 | + # systemctl status nfs-server |
| 33 | + # systemctl status libvirtd |
| 34 | + # firewall-cmd --permanent --add-service=nfs |
| 35 | + # firewall-cmd --permanent --zone=libvirt --add-port=2049/tcp |
| 36 | + # firewall-cmd --reload |
| 37 | +6. pull git repo clone; install git and git-lfs if they aren't already |
| 38 | +7. set link to space directory in repo clone |
| 39 | +8. build/run |
| 40 | + When switching virtualization providers you may need to either reboot the node or explicitly remove any |
| 41 | + virtual bridge interfaces that have been left behind. Both libvirt and virtualbox assume they own 'virbr*' |
0 commit comments