ubuntu2004网卡桥接
# Let NetworkManager manage all devices on this system
network:
ethernets:
eno1np0:
dhcp4: true
dhcp6: no
version: 2
bridges:
br0:
interfaces: [eno1np0]
dhcp4: no
addresses: [172.16.112.110/24]
gateway4: 172.16.112.1
nameservers:
addresses: [223.5.5.5]
KVM安装
apt install nfs-common qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager -y
普通用户使用virt-manager
usermod -aG libvirt admin
usermod -aG kvm adm
文档更新时间: 2023-01-17 08:41 作者:admin