Windows模板配置文件样例

<p>在Windows服务器中创建名为pacloud的json文件并粘贴以下内容。</p> <table border="1" cellpadding="1" cellspacing="1" style="width:534px"> <tbody> <tr> <td style="background-color:#ededed; width:526px"> <p>{</p> <p>&nbsp; &quot;builders&quot;: [</p> <p>&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;type&quot;: &quot;pacloud&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;communicator&quot;: &quot;winrm&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;winrm_username&quot;: &quot;Administrator&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;winrm_password&quot;: &quot;xxxxxxxx&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;winrm_timeout&quot;: &quot;5h&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;access_key_id&quot;:&quot; xxxxxxxx&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;access_key_secret&quot;:&quot; xxxxxxxx&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;timeout&quot;:10,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;debug&quot;:true,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;image_name&quot;:&quot;windows-test&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;source_image_id&quot;:&quot;ImageServiceImpl-qBqjCInQKa&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;zone_name&quot;:&quot;HKA&quot;,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;cpu_amount&quot;: 4,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;memory_size_mb&quot;: 8192</p> <p>&nbsp;&nbsp;&nbsp; }</p> <p>&nbsp; ],</p> <p>&nbsp;&nbsp;</p> <p>&nbsp; &quot;provisioners&quot;: [</p> <p>&nbsp;&nbsp;&nbsp;&nbsp; {</p> <p>&nbsp;&nbsp;&nbsp; &quot;type&quot;: &quot;powershell &quot;,<br /> &quot;inline&quot;: [&quot;Get-ChildItem C:\\&quot;]</p> <p>&nbsp;&nbsp;&nbsp;&nbsp; }</p> <p>&nbsp;&nbsp;&nbsp;&nbsp; ]</p> <p>}</p> </td> </tr> </tbody> </table> <p>&nbsp;</p>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题