Skip to content

Instantly share code, notes, and snippets.

View davesilva's full-sized avatar

Dave Silva davesilva

View GitHub Profile
@davesilva
davesilva / kvm-bridge-networking-on-debian-buster.md
Last active March 8, 2023 14:41
Bridge networking for KVM on Debian Buster

Step 1: Create bridge network

Edit /etc/network/interfaces

# Set up physical ethernet interface (enp4s0) to not use DHCP
iface enp4s0 inet manual
iface enp4s0 inet6 manual

# Set up bridge interface to use DHCP instead
@davesilva
davesilva / virt-manager-macos.md
Created August 14, 2020 11:50
Remote virt-manager from Mac OS

If you have a Linux machine with KVM on it, you can manage those VMs remotely from a Mac using virt-manager.

Step 1: Allow your user non-root access to KVM

SSH to the Linux machine and add your SSH user to the libvirt group

sudo usermod -a -G libvirt $(whoami)