{
"variables": {
"ssh_name" : "bubba",
"ssh_pass" : "supersecret",
"hostname": "testcentos",
[...]
},
"builders": [
{
"type": "vmware-iso",
"guest_os_type" : "{{user `guest_os`}}",
"iso_url": "{{user `iso_url`}}",
"iso_checksum_url": "{{user `iso_checksum_url`}}",
"ssh_username" : "{{user `ssh_name`}}",
"ssh_password" : "{{user `ssh_pass`}}",
"ssh_port": 22,
"ssh_timeout": "1000s",
"headless": "TRUE",
"disk_size": "10240",
"disk_type_id": "thin",
"vmdk_name": "test",
"vmx_data" : {
"memsize": "1024",
"cpuid.coresPerSocket": "1",
"numvcpus": "1",
"ethernet0.networkName": "LAN",
"ethernet0.present": "TRUE",
"ethernet0.startConnected": "TRUE",
"ethernet0.virtualDev": "e1000",
"ethernet0.addressType": "generated",
"ethernet0.generatedAddressOffset": "0",
"ethernet0.wakeOnPcktRcv": "FALSE"
},
"vnc_port_min": 5900,
"vnc_port_max": 5999,
"vnc_disable_password": true,
"remote_type": "esx5",
"remote_host": "{{user `vm_hostname`}}",
"remote_datastore": "{{user `vm_disk`}}",
"remote_username": "{{user `vm_admin`}}",
"remote_password": "{{user `vm_pw`}}",
"boot_command": [
"<tab> text ks=http://{{ user `kickstart_ip` }}:{{ user `kickstart_port` }}/ks.cfg <enter><return><wait5>"
],
"boot_wait": "8s",
"shutdown_command": "echo {{user `ssh_pass`}} | sudo -S shutdown -P -h now"
}
]
}--
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/7ac2dfb4-91cc-4391-b3b0-7d6edef24ba7%40googlegroups.com.
Yes, the purpose of Packer is to get a vm image that you can deploy later. The VM that is created is only transient, and the true artifact of the build is an image that contains all the changes made while the image was running. You should see log output that says what files were created by the build.
To unsubscribe from this group and stop receiving emails from it, send an email to packe...@googlegroups.com.
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/d7f4c25f-fd53-4b14-8911-324900689fbf%40googlegroups.com.