I am creating a VM from a disk. But, I am unable to give the credentials to this VM such as Username and Password.
az vm create --resource-group RESOURCE-GRP-NAME --location eastus --name VM-NAME --os-type linux --attach-os-disk DISK-NAME
When the VM gets created it says, VM agent Unavailable and I am unable to ssh to the VM.
As VM Agent is required for the VM to get connected via ssh, how to install this VM Agent via CLI on VM in azure.
Please help me with some comands.