Azure development
This commit is contained in:
17
Azure/Terraform/files/FirstLogonCommands.xml
Normal file
17
Azure/Terraform/files/FirstLogonCommands.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<FirstLogonCommands>
|
||||
<SynchronousCommand>
|
||||
<CommandLine>cmd /c "mkdir C:\terraform"</CommandLine>
|
||||
<Description>Create the Terraform working directory</Description>
|
||||
<Order>11</Order>
|
||||
</SynchronousCommand>
|
||||
<SynchronousCommand>
|
||||
<CommandLine>cmd /c "copy C:\AzureData\CustomData.bin C:\terraform\winrm.ps1"</CommandLine>
|
||||
<Description>Move the CustomData file to the working directory</Description>
|
||||
<Order>12</Order>
|
||||
</SynchronousCommand>
|
||||
<SynchronousCommand>
|
||||
<CommandLine>powershell.exe -sta -ExecutionPolicy Unrestricted -file C:\terraform\winrm.ps1</CommandLine>
|
||||
<Description>Move the CustomData file to the working directory</Description>
|
||||
<Order>13</Order>
|
||||
</SynchronousCommand>
|
||||
</FirstLogonCommands>
|
||||
Reference in New Issue
Block a user