Rajat
Rajat

Reputation: 13

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

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.

Upvotes: 0

Views: 166

Answers (1)

James Donovan
James Donovan

Reputation: 336

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.

Upvotes: 1

Related Questions