0

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.

Rajat
  • 13
  • 2
  • Aside from deploying a VM with a custom image, you'd have to have some type of startup operation after deploying. – David Makogon Jun 19 '18 at 11:38
  • Thanks @DavidMakogon , you mean to say creating a VM with custom image will have all data files other than OS and installed softwares? Also, can you enlighten what startup operation needs to be done post deployment? – Rajat Jun 21 '18 at 05:59

1 Answers1

1

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.

James Donovan
  • 336
  • 1
  • 5