-
Notifications
You must be signed in to change notification settings - Fork 0
/
svr02.json
71 lines (71 loc) · 1.89 KB
/
svr02.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"builders": [
{
"type": "vmware-iso",
"format": "ova",
"guest_os_type": "other3xlinux-64",
"iso_url": "{{user `mirror`}}/CentOS/7/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"output_directory": "output-svr02-{{build_type}}",
"vm_name": "svr02",
"disk_size": "{{user `disk_size`}}",
"memory": "{{user `memory`}}",
"headless": "{{user `headless`}}",
"floppy_files": [
"kickstarts/svr02.ks"
],
"boot_wait": "10s",
"boot_command": [
"<esc><esc><wait5>linux net.ifnames=0 biosdevname=0 inst.text inst.ks=hd:fd0:/svr02.ks<enter><wait>"
],
"ssh_timeout": "{{user `ssh_timeout`}}",
"ssh_pty" : true,
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_host": "192.168.1.206",
"communicator": "ssh",
"shutdown_command": "shutdown -h now",
"vmdk_name": "svr02",
"vmx_template_path": "templates/labvm.template"
}
],
"provisioners": [
{
"type": "file",
"source": "logstash-forwarder.crt",
"destination": "/etc/pki/tls/certs/logstash-forwarder.crt"
},
{
"type": "shell",
"scripts": [
"scripts/sshd.sh",
"scripts/ipa-setup-client.sh",
"scripts/logstash-setup.sh",
"scripts/minimize.sh"
]
}
],
"post-processors": [
{
"type": "vagrant",
"compression_level": "{{user `compression_level`}}",
"output": "svr02.box"
},
{
"type": "compress",
"output": "svr02.zip"
}
],
"variables": {
"compression_level": "6",
"cpus": "1",
"disk_size": "20000",
"headless": "false",
"iso_checksum": "7AC72A080CE8CA79D39804F713684119B908941A",
"iso_checksum_type": "sha1",
"memory": "1024",
"mirror": "http://mirror.rackspace.com",
"ssh_timeout": "60m"
}
}