版权声明:原创文章,转载请说明出处 https://blog.csdn.net/Destiny_strive/article/details/82744545
克隆的虚拟机,这里会显示以前的记录。下面步骤去除记录:
1.cat /etc/udev/rules.d/70-persistent-net.rules 查看
vim /etc/udev/rules.d/70-persistent-net.rules 修改
2.删除eth0,:wq保存.
但是这样即使重启了虚拟机也还是显示的两条记录。
在网络连接对话框里,删除system eth0,然后eth1改为eth0.再把名字改下,就像新的一样,没有克隆记录。
这里我已经删除了system eth0,然后eth1改为system eth0
需要重启虚拟机的网络服务。(service network restart)