Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"builders": [
{
"type": "vsphere-iso",
"vcenter_server": "{{user `vcenter`}}",
"username": "{{user `vcenterUser`}}",
"password": "{{user `vcenterPass`}}",
"insecure_connection": true,
"vm_name": "{{user `vmName`}}",
"vm_version": 15,
"guest_os_type": "windows9_64Guest",
"boot_order": "disk,cdrom",
"create_snapshot": true,
"convert_to_template": false,
"cluster": "{{user `cluster`}}",
"CPUs": 2,
"RAM": 8192,
"RAM_reserve_all": true,
"datastore": "{{user `datastore`}}",
"disk_controller_type": "pvscsi",
"storage": [
{
"disk_size": 51200,
"disk_thin_provisioned": true
}
],
"iso_paths": [
"[{{user `datastore_iso`}}] en-gb_windows_10_business_editions_version_2004_updated_may_2020_x64_dvd_783c55e0.iso",
"[{{user `datastore_iso`}}] VMware-tools-windows-11.1.0-16036546.iso"
],
"floppy_files": [
"{{template_dir}}/setup/"
],
"remove_cdrom": true,
"network_adapters": [
{
"network": "{{user `network`}}",
"network_card": "vmxnet3"
}
],
"communicator": "winrm",
"winrm_username": "{{user `winrmUser`}}",
"winrm_password": "{{user `winrmPass`}}"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment