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
- Roll back to the snapshot you created before upgrading the virtual appliance.
- 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.
- Navigate to the following directory.
/etc/systemd/network/
- Back up the 10-eth0.network file to another directory.
- Upgrade the virtual appliance but do not restart it.
- Restore the 10-eth0.network file to the /etc/systemd/network/ directory.
- Restart the virtual appliance.
reboot