解决每次启动虚拟机xshell都连接不上的问题
(1)将NetwokManager服务关闭:systemctl stop NetworkManager
(2)将NetworkManager 服务设置开机不启动:systemctl disable NetworkManager
(3)重新启动network服务:systemctl restart network
(1)将NetwokManager服务关闭:systemctl stop NetworkManager
(2)将NetworkManager 服务设置开机不启动:systemctl disable NetworkManager
(3)重新启动network服务:systemctl restart network