Where and how to install waagent (Linux VM Agent) via CLI?
6,231
Depending upon operating system, the commands vary a little. Below is the link for the MSFT Documentation on how to install / update the Azure VM agent on Linux.
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/update-agent
Related videos on Youtube
![Piyush Doke](https://i.stack.imgur.com/TpbUS.jpg?s=256&g=1)
Author by
Piyush Doke
Updated on September 18, 2022Comments
-
Piyush Doke almost 2 years
I am creating a VM from disk in azure from CLI. The VM gets created successfully, but in the properties, it shows VM agent unavailable. Because of which I am unable to ssh to the VM.
I am creating VM using the following command :az vm create --resource-group RESOURCE-GRP-NAME --location eastus --name VM-NAME --os-type linux --attach-os-disk DISK-NAME
As I am using [--attach-os-disk] option, it does not allow me to give user name and password. So I have to install this waaagent.
But where exactly this agents needs to be installed and how? I am doing this from CLI, so answer via CLI would be better.-
Micah_MSFT over 6 yearsAnswered on SO stackoverflow.com/questions/48914627/…
-
Shui shengbao over 6 yearsIn fact, this is not possible. You need prepare your VHD in your local Hyper-V.
-