forked from xenserver/packer-plugin-xenserver
-
Notifications
You must be signed in to change notification settings - Fork 8
/
centos-7.json
executable file
·36 lines (34 loc) · 1.13 KB
/
centos-7.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"builders": [
{
"type": "xenserver-iso",
"remote_host": "10.204.137.60",
"remote_username": "root",
"remote_password": "{{user `xenserver_password`}}",
"boot_command": [
"<tab><end> ks=http://10.204.137.80/ks/centos7-ks.cfg<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 40960,
"http_directory": "/var/www/html/packer",
"iso_url": "http://mirrors.seas.harvard.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso",
"iso_name": "CentOS-7-x86_64-Minimal-1503-01.iso",
"iso_sr": "CIFS ISO library",
"script_url": "http://10.204.137.80/packer/xenserver/",
"output_directory": "centos-7-x86_64-xenserver-acs-minimal",
"format": "vhd",
"shutdown_command": "",
"ssh_username": "root",
"ssh_password": "Password1",
"ssh_wait_timeout": "10000s",
"sr_name": "NFS Packer",
"vm_name": "packer-centos-7-x86_64-acs-minimal-template",
"vm_memory": "8192",
"vm_vcpus": 1,
"nfs_mount": "10.204.136.41:/vol/exports/packer"
}
],
"variables": {
"xenserver_password": "{{env `XS_PASS`}}"
}
}