安装相关软件包
apt -y install libvirt0 libvirt-daemon qemu virt-manager bridge-utils libvirt-clients python3-libvirt qemu-efi uml-utilities virtinst qemu-system
设置br0桥接
# 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.3.12]
gateway4: 172.16.3.1
nameservers:
addresses: [223.5.5.5]
文档更新时间: 2023-01-17 08:41 作者:admin