blob: 8771606eb1b3f38f7387fd3907e09a7b3304e9d3 (
plain)
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
|
#!/bin/sh
set -e
CONFFILES="/etc/compute-tools/container.conf /etc/compute-tools/container.conf.d/*.conf"
. /usr/share/debconf/confmodule
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/machines-directory || true
db_go
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/config-directory || true
db_go
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/debconf-directory || true
db_go
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/hooks-directory || true
db_go
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/keys-directory || true
db_go
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/cache-directory || true
db_go
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/directory-permissions || true
db_go
if [ -e /usr/share/compute-tools/build-scripts ]
then
SCRIPT_CHOICES="$(cd /usr/share/compute-tools/build-scripts && find -maxdepth 1 -not -type d -and -not -name 'default' -and -not -name 'debconf' -and -not -name '*.d' -printf '%P\n' | sort)"
db_subst open-infrastructure-compute-tools/build-script SCRIPT_CHOICES "$(echo ${SCRIPT_CHOICES} | sed -e 's| |, |g')"
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/build-script || true
db_go
fi
for CONFFILE in ${CONFFILES}
do
if [ -e "${CONFFILE}" ]
then
. ${CONFFILE} || true
fi
done
if [ -n "${IRK_TARGETS}" ]
then
db_set open-infrastructure-compute-tools/irc "${IRK_TARGETS}"
fi
db_settitle open-infrastructure-compute-tools/title
db_input low open-infrastructure-compute-tools/irc || true
db_go
db_stop
|