KVM热添加网卡
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
1.创建网卡
–type 网卡类型
–source 宿主机的网卡
–model 驱动模式
–persistent 保存至配置文件
virsh attach-interface web01-clone --type bridge --source br0 --model virtio --persistent
查看接口信息:
virsh domiflist web01-clone
删除网卡:
virsh detach-interface web01-clone --type bridge --mac 52:54:00:e9:8f:43 --persistent
请我喝杯水

