[root@192 ~]# ln -vs /usr/libexec/qemu-kvm /usr/bin/
‘/usr/bin/qemu-kvm’ -> ‘/usr/libexec/qemu-kvm’
mv /etc/libvirt/qemu/networks/default.xml /tmp/
[root@192 ~]# systemctl stop NetworkManager; systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.
[root@192 ~]# virsh iface-bridge ens33 br0
Created bridge br0 with attached device ens33
Bridge interface br0 started
[root@192 ~]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000c297f3bbc yes ens33
docker0 8000.02423edbc24e no veth572c63a
virbr0 8000.525400ee30dd yes virbr0-nic
[root@192 kvm01]# ll
total 348416
-rw-r--r-- 1 root root 0 Jun 5 01:48 nfs
-rw-r--r-- 1 root root 356777984 Jun 5 02:04 small.img
我正在参与2023腾讯技术创作特训营第三期有奖征文,组队打卡瓜分大奖!
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。