-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathdatabase-data.xml
More file actions
72 lines (61 loc) · 2.71 KB
/
database-data.xml
File metadata and controls
72 lines (61 loc) · 2.71 KB
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
<stack:stack>
<stack:copyright>
Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
</stack:copyright>
<stack:rocks>
Copyright (c) 2000 - 2010 The Regents of the University of California
All rights reserved. Rocks(r) v5.4 www.rocksclusters.org
https://github.com/Teradata/stacki/blob/master/LICENSE-ROCKS.txt
</stack:rocks>
<stack:script stack:stage="install-post">
<stack:file stack:name="/tmp/dump-host.json">
{
"host": [
{
"name": "&Kickstart_PrivateHostname;",
"rack": "0",
"rank": "0",
"appliance": "frontend",
"box": "frontend",
"interface": [
{
</stack:file>
<stack:file stack:name="/tmp/dump-host.json" stack:mode="append" stack:cond="platform in ['aws', 'docker']">
"options": "dhcp",
</stack:file>
<stack:file stack:name="/tmp/dump-host.json" stack:mode="append">
"interface": "&Kickstart_PrivateInterface;",
"default": true,
"network": "private",
"mac": "&Kickstart_PrivateEthernet;",
"ip": "&Kickstart_PrivateAddress;",
"name": "&Kickstart_PrivateHostname;"
}
]
}
]
}
</stack:file>
/opt/stack/bin/stack load /tmp/dump-bootaction.json | sh
/opt/stack/bin/stack load /tmp/dump-host.json | sh
<stack:file stack:name="/tmp/my.cnf" stack:expr="grep -v '^old_passwords' /etc/my.cnf"/>
<stack:file stack:name="/etc/my.cnf" stack:perms="644" stack:expr="cat /tmp/my.cnf"/>
rm /tmp/my.cnf
</stack:script>
<stack:script stack:cond="platform != 'docker'">
<stack:report stack:name="host"></stack:report>
<!-- Firmware support -->
<!-- Mellanox m7800 and m6036 -->
/opt/stack/bin/stack add firmware make mellanox
/opt/stack/bin/stack add firmware model m7800 make=mellanox imp=mellanox
/opt/stack/bin/stack add firmware model m6036 make=mellanox imp=mellanox
/opt/stack/bin/stack add firmware version_regex "(?:\d+\.){2}\d+" description="This turns X86_64 3.6.5009 2018-01-02 07:42:21 x86_64 into 3.6.5009" make=mellanox name=mellanox-version-regex
<!-- Dell x1052 -->
/opt/stack/bin/stack add firmware make dell
/opt/stack/bin/stack add firmware model x1052-software make=dell imp=dell_x1052
/opt/stack/bin/stack add firmware model x1052-boot make=dell imp=dell_x1052
/opt/stack/bin/stack add firmware version_regex "(?:\d+\.){3}\d+" description="This turns 3.0.0.94 ( date 10-Sep-2017 time 22:31:38 ) into 3.0.0.94." make=dell name=x1052-version-regex
</stack:script>
</stack:stack>