让虚拟化平台管理人员帮忙分配机器,到手后发现有个虚拟网卡
这个挺恶心人的(模板问题导致)
后来查到原因,出现虚拟网卡是因为安装时启用了libvirtd服务后生成的。
后来使用虚拟化的管理工具virsh删除,发现没有安装,我日了,又重新安装的libvired服务(之前的没有安装好)
关闭方法
virsh net-list
名称 状态 自动开始 持久
default active yes
virsh net-destroy default
virsh net-undefine default
systemctl stop libvirtd.service
systemctl disable libvirtd.service
另一种方法:直接将libvirt删除
yum remove libvirt-daemon -y
reboot
转载于:https://blog.51cto.com/laodou/2338136