-
Notifications
You must be signed in to change notification settings - Fork 2
/
centos-simple.json
54 lines (54 loc) · 1.53 KB
/
centos-simple.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"builders": [
{
"cluster": "Mordor",
"datacenter": "{{user `vsphere_datacenter`}}",
"datastore": "{{user `vsphere_datastore`}}",
"host": "{{user `vsphere_host`}}",
"password": "{{user `vsphere_password`}}",
"type": "vsphere-iso",
"username": "{{user `vsphere_username`}}",
"vm_name": "Centos-7",
"vcenter_server": "{{user `vsphere_vcenter`}}",
"insecure_connection": "true",
"convert_to_template": "true",
"cd_files": ["{{user `cd_path`}}//cd//ks.cfg"],
"cd_label": "data",
"boot_command": [
"<tab> text ks=cdrom:/dev/sr1:/ks.cfg<enter><wait>"
],
"guest_os_type": "centos7_64Guest",
"CPUs": "1",
"RAM": "4096",
"iso_checksum": "{{user `checksum`}}",
"iso_url": "{{user `url`}}",
"shutdown_command": "sudo /sbin/halt -p",
"ssh_password": "{{user `ssh_password`}}",
"ssh_timeout": "20m",
"ssh_username": "{{user `ssh_username`}}",
"storage": [
{
"disk_size": "20480"
}
],
"network_adapters": [
{
"network": "192.168.100.0/24",
"network_card": "vmxnet3"
}
]
}
],
"variables": {
"checksum": "07b94e6b1a0b0260b94c83d6bb76b26bf7a310dc78d7a9c7432809fb9bc6194a",
"url": "http://mirrors.melbourne.co.uk/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso",
"cd_path": "",
"vsphere_username": "",
"vsphere_password": "",
"vsphere_vcenter": "",
"vsphere_datacenter": "",
"vsphere_datastore": "",
"ssh_username": "",
"ssh_password": ""
}
}