azure-arm - configuring vm during build

15 views
Skip to first unread message

evann...@gmail.com

unread,
May 1, 2017, 3:27:23 PM5/1/17
to Packer
I am trying to create a Windows Server 2012 R2 instance using the azure-arm builder, then provisioning with powershell and chef-solo.  I have been able to successfully complete the task using the amazon-ebs builder, however I am unable to configure the machine remotely using azure-arm. I found when using amazon-ebs I was able to include a user_data_file which allowed me to run scripts as the vm was being created. My question is:

Is there something similar to the user_data_file that can be used to configure the vm during the build using the azure-arm builder? In particular I need to enable WinRM to allow for remote configuration of the VM so I can run Windows installations (SQL, etc.).
Reply all
Reply to author
Forward
0 new messages