-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-config.json
76 lines (76 loc) · 1.83 KB
/
sample-config.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
72
73
74
75
76
{
"settings": {
"management_network": "172.16.99.0/24",
"diskimage_basepath": "/images/"
},
"networks": [
{
"name": "exp0",
"host_ports": [
"eno2"
]
},
{
"name": "exp1",
"host_ports": []
}
],
"integration": [
{
"mode": "none|await|startstop",
"environment": {
"KEY": "value"
},
"invoke_after": "startup|network|init",
"wait_after_invoke": 0,
"settings": {
"start_script": "integration/start.sh",
"stop_script": "integration/stop.sh",
"wait_for_exit": 120
}
}
],
"instances": [
{
"name": "vma.virtual.machine",
"diskimage": "image.qcow2",
"setup_script": null,
"environment": null,
"cores": 2,
"memory": 1024,
"networks": [
"exp0"
],
"preserve_files": [
"/var/log/latest.log"
]
},
{
"name": "router.virtual.machine",
"diskimage": "image.qcow2",
"setup_script": "router/setup.sh",
"environment": {
"KEY": "value"
},
"cores": 2,
"memory": 1024,
"networks": [
"exp0",
"exp1"
]
},
{
"name": "vmb.virtual.machine",
"diskimage": "image.qcow2",
"setup_script": "vmb/setup.sh",
"environment": {
"KEY": "value"
},
"cores": 2,
"memory": 1024,
"networks": [
"exp1"
]
}
]
}