summaryrefslogtreecommitdiffstats
path: root/lib/container/auto
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 /lib/container/auto
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 'lib/container/auto')
-rwxr-xr-xlib/container/auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/auto b/lib/container/auto
index 45aa68f..72b4290 100755
--- a/lib/container/auto
+++ b/lib/container/auto
@@ -104,7 +104,7 @@ esac
for FILE in "${CONFIG}"/*.conf
do
- if grep -Eqs "^ *cnt.auto=true" "${FILE}" || grep -Eqs "^ *cnt.auto=${HOST}" "${FILE}"
+ if grep -Eqs "^ *cnt.container-server=true" "${FILE}" || grep -Eqs "^ *cnt.container-server=${HOST}" "${FILE}"
then
CONTAINER="$(basename ${FILE} .conf)"