KVM clone Fedora network issue

After clone Fedora 24 VM, the is a network issue:

$ sudo systemctl restart network
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

$ journalctl -xe
...
Nov 14 15:59:07 localhost NetworkManager[818]:   [1479157147.5419] audit: op="connection-activate" uuid="123dd488-4e5a-3420-952d-c6e63dff7c21"
Nov 14 15:59:07 localhost network[1389]: Bringing up interface ens3:  Error: Connection activation failed: No suitable device found for this connect
Nov 14 15:59:07 localhost network[1389]: [FAILED]
...

Root cause: The old network device doesn’t exist anymore. During clone, a new network device is added.

Solution:

Delete old network profile. (ex. old interface is ens3)

$ sudo rm /etc/sysconfig/network-scripts/ifcfg-ens3

Using Network Manger tool (nmcli, nmtui) to config network again.

Leave a Reply

Your email address will not be published. Required fields are marked *