How to deploy a Azure VM with few file existing already using ARM template?

157 Views Asked by At

I want to deploy a linux vm using ARM template with few files already downloaded into it in some specific directory, how to do that? Those files can be fetched either from my file system or from github.

1

There are 1 best solutions below

0
On

You could use something like DSC to achieve this. You could deploy the ARM template and set to apply a DSC configuration much like in this link.

The file you want downloaded needs to sit in an Azure storage account and set the destination path in the DSC configuration.