{
"builders": [
{
"type": "vmware-iso",
"format": "ovf",
"vm_name": "PACKERTEST02",
"iso_url": "/rhel-server-7.2-x86_64-dvd.iso",
"iso_checksum": "03f3a0291634335f6995534d829bd21ffaa0d000004dfeb1b2fb81052d64a4d5",
"iso_checksum_type": "sha256",
"disk_size": "104761",
"disk_type_id": "thin",
"remote_host": "esxi-host",
"remote_datastore": "nas",
"remote_username": "root",
"remote_password": "********",
"remote_type": "esx5",
"ssh_username": "vagrant",
"guest_os_type": "rhel6-64",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "20m",
"shutdown_command": "sudo -S /sbin/halt -h -p",
"headless": "false",
"floppy_files": [
"kickstart/rhel7-packertest02.ks.cfg"
],
"boot_command": "<esc> linux inst.text inst.ks=hd:fd0:/rhel7-packertest02.ks.cfg <enter><wait>",
"boot_wait": "5s",
"keep_registered": "true",
"vmx_data": {
"config.version": 8,
"virtualHW.version": 8,
"ethernet0.virtualDev": "vmxnet3",
"ethernet0.networkName": "VM Network",
"ethernet0.addressType": "generated",
"ethernet0.present": "TRUE",
"ethernet1.virtualDev": "vmxnet3",
"ethernet1.networkName": "VLAN100",
"ethernet1.addressType": "generated",
"ethernet1.present": "TRUE",
"ethernet0.pciSlotNumber": "192",
"ethernet1.pciSlotNumber": "224",
"memsize": "2048",
"numvcpus": "2",
"cpuid.coresPerSocket": "1",
"RemoteDisplay.vnc.enabled": "TRUE",
"RemoteDisplay.vnc.port": "5900"
}
}
]
}
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/36d32bd5-c9e4-4602-9a3b-309e5230a53a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...
2016/07/20 18:41:01 packer: 2016/07/20 18:41:01 Verifying checksum of /vmfs/volumes/nas/packer_cache/rhel-server-7.2-x86_64-dvd.iso
2016/07/20 18:41:01 packer: 2016/07/20 18:41:01 opening new ssh session
2016/07/20 18:41:01 packer: 2016/07/20 18:41:01 starting remote command: sha256sum -c
2016/07/20 18:45:00 packer: 2016/07/20 18:45:00 remote command exited with '0': sha256sum -c
2016/07/20 18:45:00 packer: 2016/07/20 18:45:00 Initial checksum matched, no upload needed.
2016/07/20 18:45:00 ui: ==> vmware-iso: Creating virtual machine disk
...
iso_checksum_type": "sha256",
iso_checksum_type (string) - The type of the checksum specified iniso_checksum. Valid values are "none", "md5", "sha1", "sha256", or "sha512" currently. While "none" will skip checksumming, this is not recommended since ISO files are generally large and corruption does happen from time to time.