VMware 克隆虛擬機後網卡沒法啓動

    今天使用 VMware Workstation 時,出現了一個問題。克隆目前存在的 RHEL 7系統後,網卡沒法正常啓動,報錯以下:bash

[root@wangmj Desktop]# systemctl restart network
Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
[root@wangmj Desktop]# systmectl status network.service
bash: systmectl: command not found...
Similar command is: 'systemctl'
[root@wangmj Desktop]# systemctl status network.service 
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Fri 2019-05-03 23:20:40 CST; 32s ago
  Process: 2774 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj network[2774]: RTNETLINK answers: File exists
May 03 23:20:40 wangmj systemd[1]: network.service: control process exited,...=1
May 03 23:20:40 wangmj systemd[1]: Failed to start LSB: Bring up/down netwo...g.
May 03 23:20:40 wangmj systemd[1]: Unit network.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

    網上查找解決方案後,發現問題爲 配置文件 和  查看到的 MAC 地址不匹配:spa

進入配置文件修改後網卡成功啓動。.net

    借鑑於:http://blog.csdn.net/weiyongle1996/article/details/75128239rest

相關文章
相關標籤/搜索