packer-cn/builder/vsphere/examples/windows/windows-10.json

49 lines
1.1 KiB
JSON
Raw Normal View History

2018-02-17 18:59:51 -05:00
{
"builders": [
{
"type": "vsphere-iso",
"vcenter_server": "vcenter.vsphere65.test",
"username": "root",
"password": "jetbrains",
"insecure_connection": "true",
"vm_name": "example-windows",
"host": "esxi-1.vsphere65.test",
"guest_os_type": "windows9_64Guest",
"communicator": "winrm",
"winrm_username": "jetbrains",
"winrm_password": "jetbrains",
"CPUs": 1,
"RAM": 4096,
"RAM_reserve_all": true,
"disk_controller_type": "pvscsi",
2018-05-22 19:50:53 -04:00
"disk_size": 32768,
2018-02-17 18:59:51 -05:00
"disk_thin_provisioned": true,
"network_card": "vmxnet3",
"iso_paths": [
"[datastore1] ISO/en_windows_10_multi-edition_vl_version_1709_updated_dec_2017_x64_dvd_100406172.iso",
"[datastore1] ISO/VMware Tools/10.2.0/windows.iso"
],
"floppy_files": [
2018-05-03 21:40:35 -04:00
"{{template_dir}}/setup/"
2018-02-17 18:59:51 -05:00
],
"floppy_img_path": "[datastore1] ISO/VMware Tools/10.2.0/pvscsi-Windows8.flp"
2018-02-17 18:59:51 -05:00
}
],
"provisioners": [
{
"type": "windows-shell",
"inline": ["dir c:\\"]
}
]
}