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> "builders": [</p>
<p> { </p>
<p> "type": "pacloud",</p>
<p> "communicator": "winrm",</p>
<p> "winrm_username": "Administrator",</p>
<p> "winrm_password": "xxxxxxxx",</p>
<p> "winrm_timeout": "5h",</p>
<p> "access_key_id":" xxxxxxxx",</p>
<p> "access_key_secret":" xxxxxxxx",</p>
<p> "timeout":10,</p>
<p> "debug":true,</p>
<p> "image_name":"windows-test",</p>
<p> "source_image_id":"ImageServiceImpl-qBqjCInQKa",</p>
<p> "zone_name":"HKA",</p>
<p> "cpu_amount": 4,</p>
<p> "memory_size_mb": 8192</p>
<p> }</p>
<p> ],</p>
<p> </p>
<p> "provisioners": [</p>
<p> {</p>
<p> "type": "powershell ",<br />
"inline": ["Get-ChildItem C:\\"]</p>
<p> }</p>
<p> ]</p>
<p>}</p>
</td>
</tr>
</tbody>
</table>
<p> </p>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!