summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf.d
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-01 13:23:23 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-06-24 14:11:54 +0000
commitcfb5c24f96f6fa9f45fab986e382d6aa6aef7a55 (patch)
tree453f48667920d9eb98e7d6472a251d9229971b16 /share/scripts/debconf.d
parentAdding new container top command manpage. (diff)
downloadcompute-tools-cfb5c24f96f6fa9f45fab986e382d6aa6aef7a55.tar.xz
compute-tools-cfb5c24f96f6fa9f45fab986e382d6aa6aef7a55.zip
Renaming cnt.auto to cnt.container-server in order to split functionality of 'binding container to a specific host system' from 'starting container at system boot'.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/debconf.d')
-rwxr-xr-xshare/scripts/debconf.d/0003-debconf12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf
index 76a71c8..a36720a 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -1006,20 +1006,20 @@ Internal_options ()
echo "HOST_COMMAND=\"${HOST_COMMAND}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
- if db_get cnt-debconf/auto
+ if db_get cnt-debconf/container-server
then
- CNT_AUTO="${RET:-FQDN}" # string (w/o empty)
+ CNT_CONTAINER_SERVER="${RET:-FQDN}" # string (w/o empty)
fi
- CNT_AUTO="${CNT_AUTO:-FQDN}"
+ CNT_CONTAINER_SERVER="${CNT_CONTAINER_SERVER:-FQDN}"
- case "${CNT_AUTO}" in
+ case "${CNT_CONTAINER_SERVER}" in
FQDN)
- CNT_AUTO="$(hostname -f)"
+ CNT_CONTAINER_SERVER="$(hostname -f)"
;;
esac
- echo "CNT_AUTO=\"${CNT_AUTO}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+ echo "CNT_CONTAINER_SERVER=\"${CNT_CONTAINER_SERVER}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
if db_get cnt-debconf/bind
then