The virtual machine uses template deployment without a network card

  • 0 Followed
  • 0Collected ,13Browsed

Network Topology

Not involved

Problem Description

After deploying a virtual machine using the CAS/UIS template, no network adapter is visible inside the virtual machine.

Process Analysis

On-site feedback indicated that after deploying a virtual machine using a template, the new virtual machine could not detect the network card. It was acknowledged that the on-site virtual machine system version was compatible (Ubuntu 22.04), and the steps for creating the virtual machine template followed the manual requirements.

Solution

The third point in the manual regarding virtual machine template creation is as follows:

Before cloning or converting a virtual machine with Linux OS installed into a template, manually enter the Linux OS and

delete the /etc/udev/rules.d/70-persistent-net.rules file. Otherwise, the virtual machine deployed from this template will lack an eth0 network

interface.

However, the on-site version system does not have the 70-persistent-net.rules file internally. After checking via Google to acknowledge: In newer versions of the system kernel, this NIC management method has been deprecated. If this file cannot be found, you can try searching for these two files:

/usr/lib/udev/rules.d/80-net-setup-link.rules

/usr/lib/udev/rules.d/80-net-name-slot.rules

Then delete these two files and clone them into a virtual machine template to successfully deploy the virtual machine. It is recommended to create a backup before deletion.

 

Please rate this case:   
0 Comments

No Comments

Add Comments: