d1de461cdb
Signed-off-by: kunm <kun.ma@citrix.com>
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"builders": [
|
|
{
|
|
"type": "xenserver-iso",
|
|
"remote_host": "your-server.example.com",
|
|
"remote_username": "root",
|
|
"remote_password": "password",
|
|
|
|
"boot_command": [
|
|
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos6-ks.cfg<enter><wait>"
|
|
],
|
|
"boot_wait": "10s",
|
|
"disk_size": 40960,
|
|
"http_directory": "http",
|
|
"iso_checksum": "4ed6c56d365bd3ab12cd88b8a480f4a62e7c66d2",
|
|
"iso_checksum_type": "sha1",
|
|
"iso_url": "{{user `mirror`}}/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.iso",
|
|
"vm_other_config": {
|
|
"conversionvm":"true"
|
|
},
|
|
"network_names": [
|
|
"Host internal management network",
|
|
"Pool-wide network associated with eth0"
|
|
],
|
|
"output_directory": "packer-centos-6.6-x86_64-xenserver",
|
|
"shutdown_command": "/sbin/halt",
|
|
"ssh_username": "root",
|
|
"ssh_password": "vmpassword",
|
|
"ssh_wait_timeout": "10000s",
|
|
"vm_name": "packer-centos-6.6-x86_64",
|
|
"vm_description": "Build time: {{isotime}}"
|
|
}
|
|
],
|
|
|
|
"variables": {
|
|
"mirror": "http://www.mirrorservice.org/sites/mirror.centos.org"
|
|
}
|
|
}
|