Last active
December 20, 2015 02:19
-
-
Save dky/6055694 to your computer and use it in GitHub Desktop.
Basic packer 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
{ | |
"builders": [ | |
{ | |
"type": "vmware", | |
"boot_command": [ | |
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>" | |
], | |
"boot_wait": "5s", | |
"disk_size": 10480, | |
"guest_os_type": "rhel6-64", | |
"http_directory": "http", | |
"iso_checksum": "7cde1479be934ad8463a35f2a3a48a2b", | |
"iso_checksum_type": "md5", | |
"iso_url": "file:/iso/CentOS-6.4-i386-netinstall.iso", | |
"skip_compaction": true, | |
"ssh_username": "root", | |
"ssh_password": "install", | |
"ssh_port": 22, | |
"ssh_wait_timeout": "10000s", | |
"shutdown_command": "shutdown -h now", | |
"tools_upload_flavor": "linux", | |
"vmx_data": { | |
"memsize": "480", | |
"numvcpus": "1", | |
"cpuid.coresPerSocket": "1" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment