When the issue occurs, the Secure Shell (SSH) connection that has correct permissions may start to connect to the VM. However, it ultimately cannot access the VM because of the network issue.
The networking errors are typically logged in the serial console log. Specifically, you may see the following errors.
Resolve the issue on a customized Linux operating system
For more information about how to attach a data disk to the gallery VM, see How to attach a data disk to a Windows VM in the Azure portal.
fdisk -ldf -hmount /dev/sdc1 /temporarydf -hcd /temporary/etc/udev/rules.dls -ltrmv 70-persistent-net.rules /temporary/root/cd ../../network lsmv interfaces interfaces.orgls -ltr
Copy to the current folder files from the working VM:
cp /etc/network/interfaces . cp -R /etc/network/interfacescp -R /etc/network/interfaces.d .cp -R /etc/network/interfaces.dynamic.d .ls -ltrcd ..cdumount /mnt