-
-
Save azdanov/e4fc056c051ec6185fe7d571b5958d3b to your computer and use it in GitHub Desktop.
Virt-Manager QEMU/KVM on CachyOS (Arch-based distros)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install requirements | |
| paru -S qemu-full qemu-emulators-full libvirt virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat | |
| # Enable libvirtd | |
| sudo systemctl enable libvirtd | |
| sudo systemctl start libvirtd | |
| # Add user to libvirt group | |
| sudo usermod -aG libvirt $(whoami) | |
| newgrp libvirt | |
| # Just checking the virtual network | |
| sudo EDITOR=vim virsh net-edit default | |
| # Start and configure autostart for the default network | |
| sudo virsh net-start default | |
| sudo virsh net-autostart default | |
| # Configure firewall_backend on libvirt network config | |
| sudo vim /etc/libvirt/network.conf | |
| # Edit this config, (iptables, nftables, etc) | |
| firewall_backend = "iptables" | |
| # Might be useful | |
| sudo systemctl restart libvirtd | |
| # Start VMM | |
| virt-manager |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment