summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/open-infrastructure-container-tools.config14
1 files changed, 10 insertions, 4 deletions
diff --git a/debian/open-infrastructure-container-tools.config b/debian/open-infrastructure-container-tools.config
index 2dc080c..0139c05 100644
--- a/debian/open-infrastructure-container-tools.config
+++ b/debian/open-infrastructure-container-tools.config
@@ -2,7 +2,7 @@
set -e
-CONFFILE="/etc/compute-tools/container.conf"
+CONFFILES="/etc/compute-tools/container.conf /etc/compute-tools/container.conf.d/*.conf"
. /usr/share/debconf/confmodule
@@ -40,10 +40,16 @@ then
db_go
fi
-if [ -e "${CONFFILE}" ]
-then
- . ${CONFFILE} || true
+for CONFFILE in ${CONFFILES}
+do
+ if [ -e "${CONFFILE}" ]
+ then
+ . ${CONFFILE} || true
+ fi
+done
+if [ -n "${IRK_TARGETS}" ]
+then
db_set open-infrastructure-container-tools/irc "${IRK_TARGETS}"
fi