Created
September 9, 2014 11:24
-
-
Save liamjbennett/d85d682015246ae932c4 to your computer and use it in GitHub Desktop.
packer-issues-1221 - template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "variables": { | |
| "image_version": "1.0.0", | |
| "vsphere_username": "", | |
| "vsphere_password": "" | |
| }, | |
| "builders": [ | |
| { | |
| "name": "vsphere", | |
| "type": "vmware-iso", | |
| "iso_url": "../../iso/en_windows_server_2008_r2_standard_enterprise_datacenter_web_x64_dvd_x15-50365.iso", | |
| "iso_checksum_type": "md5", | |
| "iso_checksum": "0ffbae83327f0ad8c2ab4d5dfa754c09", | |
| "headless": false, | |
| "boot_wait": "2m", | |
| "ssh_username": "vagrant", | |
| "ssh_password": "vagrant", | |
| "ssh_wait_timeout": "2h", | |
| "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", | |
| "guest_os_type": "windows7Server64Guest", | |
| "tools_upload_flavor": "linux", | |
| "disk_size": 61440, | |
| "floppy_files": [ | |
| "./Autounattend.xml", | |
| ], | |
| "remote_type": "esx5", | |
| "remote_host": "10.20.23.143", | |
| "remote_username": "root", | |
| "remote_password": "root123", | |
| "remote_datastore": "VMWareNetSAS02", | |
| "output_directory": "packer-windows-2008R2-{{user `image_version`}}", | |
| "vm_name": "packer-windows-2008R2", | |
| "vmx_data": { | |
| "vhv.enable": "true", | |
| "memsize": "1024", | |
| "numvcpus": "2", | |
| "cpuid.coresPerSocket": "1", | |
| "guestOS": "windows7Server64Guest", | |
| "virtualhw.version": "8", | |
| "ethernet0.startConnected": "TRUE", | |
| "ethernet0.allowGuestConnectionControl": "TRUE", | |
| "ethernet0.features": "1", | |
| "ethernet0.wakeOnPcktRcv": "TRUE", | |
| "ethernet0.networkName": "Vlan16", | |
| "ethernet0.dvs.switchId": "", | |
| "ethernet0.present": "TRUE", | |
| "ethernet0.addressType": "generated", | |
| "ethernet0.generatedAddressOffset": "10" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment