azure-vm-templates

Creating more than one user while provisioning azure linux vm via CLI

风格不统一 提交于 2019-12-24 23:20:15
问题 I'm trying to create a linux virtual machine on azure via terraform and my requirement is to setup multiple user accounts on OS. I'm relatively new to Azure Cloud and went through some basic documentation but couldn't find what i was looking for. I want to automate the process either via terraform or shell scripting by taking advantage of azure-cli . If anybody has anything relevant to my use case or point me towards direction for any alternative way to achieve this task then that would be

How to run a 2 VM custom script extensions on Azure VM at the same time

≯℡__Kan透↙ 提交于 2019-12-24 07:15:37
问题 I have create a Azure VM using ARM template and want to run a 2 VM script extensions on the same VM after VM is deployed. How can I achieve using the ARM template? { "apiVersion": "[variables('resourceDeploymentApiVersion')]", "name": "[variables('vmTemplateName')]", "type": "Microsoft.Resources/deployments", "resourceGroup": "[parameters('vmGroupName')]", "properties": { "mode": "Incremental", "templateLink": { "uri": "[variables('vmTemplateURL')]" }, "parameters": {}, } } { "type":