After you upgrade the virtual appliance and reboot, a networking error occurs.

Problem

After you upgrade the appliance, the following error message appears.

NO NETWORKING DETECTED. PLEASE LOGIN AND RUN THE COMMAND
/opt/vmware/share/vami/vami_config_net TO CONFIGURE THE NETWORK

Solution

  1. Roll back to the snapshot you created before upgrading the virtual appliance.
  2. Either log in to the virtual appliance as the root user or log in as the sshuser and run the su command to switch to super user.
  3. Navigate to the following directory.
    /etc/sysconfig/networking/devices
  4. Back up the ifcfg-eth0 file to another directory.
  5. Upgrade the virtual appliance but do not restart it.
  6. Restore the ifcfg-eth0 file to the /etc/sysconfig/networking/devices directory.
  7. Restart the virtual appliance.
    reboot