This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kvm [2023/05/30 11:21] – vissie | kvm [2023/06/01 00:52] (current) – [Debian] vissie | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| < | < | ||
| - | sudo apt install --no-install-recommends qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst | + | sudo apt install --no-install-recommends qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst |
| + | # Some apps does not get installed with --no-install-recommends and seemds to be added: qemu-utils dnsmasq | ||
| + | # ovmf is for uf | ||
| sudo systemctl status libvirtd.service | sudo systemctl status libvirtd.service | ||
| sudo virsh net-list --all | sudo virsh net-list --all | ||
| Line 64: | Line 66: | ||
| <sxh bash; gutter: false> | <sxh bash; gutter: false> | ||
| # This file describes the network interfaces available on your system | # This file describes the network interfaces available on your system | ||
| - | # and how to activate them. For more information, | ||
| source / | source / | ||
| Line 75: | Line 76: | ||
| # allow-hotplug enp0s31f6 | # allow-hotplug enp0s31f6 | ||
| #iface enp0s31f6 inet dhcp | #iface enp0s31f6 inet dhcp | ||
| - | |||
| - | # The primary network interface | ||
| #auto enp0s31f6 | #auto enp0s31f6 | ||
| - | |||
| - | #make sure we don't get addresses on our raw device | ||
| - | # iface enp0s31f6 inet manual | ||
| - | #set up bridge and give it a static ip | ||
| auto br0 | auto br0 | ||