-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcentos7build.json
36 lines (36 loc) · 1.01 KB
/
centos7build.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
{
"variables": {
"iso": "/Users/gary/iso/CentOS-7-x86_64-DVD-1908.iso",
"checksum": "9bba3da2876cb9fcf6c28fb636bcbd01832fe6d84cd7445fa58e44e569b3b4fe"
},
"builders": [
{
"name": "palmer_vmware",
"type": "vmware-iso",
"version": "16",
"iso_url": "{{ user `iso` }}",
"iso_checksum": "{{ user `checksum` }}",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "rootpassword",
"ssh_timeout": "60000s",
"shutdown_command": "shutdown -P now",
"guest_os_type": "centos7-64",
"disk_type_id": "0",
"http_directory": "http",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos7_nofw.cfg<enter><wait>"
],
"vmx_data" :{
"vhv.enable": "TRUE"
}
}
],
"provisioners": [
{
"type": "file",
"source": "./http/packer.txt",
"destination": "/tmp/"
}
]
}