azure-xplat-cli icon indicating copy to clipboard operation
azure-xplat-cli copied to clipboard

Can not get and update the provision status of guest agent

Open bingosummer opened this issue 9 years ago • 5 comments

For classic VM, I can get and set ProvisionGuestAgent by: $vm = Get-AzureVM -ServiceName XXX -Name XXX $vm.GetInstance().ProvisionGuestAgent = $true $vm | Update-AzureVM

But for Azure CLI, the provision status of guest agent can not be got or updated by "azure vm" command. Any thought on this feature? Thanks

bingosummer avatar Aug 14 '15 01:08 bingosummer

@devigned Any comment?

bingosummer avatar Oct 13 '15 09:10 bingosummer

@huangpf - Any thoughts on this one?

amarzavery avatar Jul 15 '16 02:07 amarzavery

Looks like a feature request. ASM?

huangpf avatar Jul 15 '16 05:07 huangpf

Yes. For ASM. This was addressed several months ago. I'm not sure whether it's supported now. Here is the background: https://github.com/Azure/azure-linux-extensions#known-issues

Do you think it makes sense to support this feature? If not, please feel free to close this issue. Thanks.

bingosummer avatar Jul 15 '16 05:07 bingosummer

In the absence I've finding a supported solution, I ended up creating a nodejs app that can be used to set this property. https://github.com/OctopusDeploy/azure-linux-helpers/tree/master/SetProvisionGuestAgentFlag.

I'd still like to see this functionality available in the cli though.

matt-richardson avatar Jan 23 '17 03:01 matt-richardson