-
Notifications
You must be signed in to change notification settings - Fork 1
/
waldur.json
58 lines (58 loc) · 1.3 KB
/
waldur.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
{
"builders": [
{
"boot_command": [
"<esc><wait>",
"linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos7-ks.cfg",
"<enter><wait>"
],
"disk_size": 8192,
"headless": true,
"http_directory": ".",
"iso_checksum": "becbfcea718898877ab5dc3d875b11ab53cd03c9ef97c83399d8ad5bf5ecdb36",
"iso_checksum_type": "sha256",
"iso_url": "http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-Minimal.iso",
"qemuargs": [
[
"-m",
"2048M"
]
],
"shutdown_command": "echo 'installation completed' | shutdown -P now",
"ssh_username": "root",
"ssh_password": "password",
"ssh_wait_timeout": "20m",
"type": "qemu",
"vm_name": "waldur.qcow2"
}
],
"provisioners": [
{
"script": "./bootstrap.sh",
"type": "shell"
},
{
"destination": "/etc/nginx/nginx.conf",
"source": "./nginx.conf",
"type": "file"
},
{
"inline": [
"systemctl restart nginx"
],
"type": "shell"
},
{
"script": "./init-data.sh",
"type": "shell"
},
{
"inline": [
"yum clean all",
"history -c",
"history -w"
],
"type": "shell"
}
]
}