summaryrefslogtreecommitdiffstats
path: root/lib/container/list
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-29 08:46:20 +0000
commit6c75eca760619440013078068d592c5bdc646e87 (patch)
treea5616a206290ffce41af35c9c1c4a06e4c0dbafb /lib/container/list
parentRemoving net-tools from host-setup documentation, it is a direct depends of c... (diff)
downloadcompute-tools-6c75eca760619440013078068d592c5bdc646e87.tar.xz
compute-tools-6c75eca760619440013078068d592c5bdc646e87.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 '')
-rwxr-xr-xlib/container/list6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/list b/lib/container/list
index 9bf61c4..8d1ef96 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -329,10 +329,10 @@ do
if [ -e "${CONFIG}/${CONTAINER}.conf" ]
then
- AUTO="$(awk -F= '/^cnt.auto=/ { print $2 }' ${CONFIG}/${CONTAINER}.conf)"
- AUTO="${AUTO:-false}"
+ CONTAINER_SERVER="$(awk -F= '/^cnt.container-server=/ { print $2 }' ${CONFIG}/${CONTAINER}.conf)"
+ CONTAINER_SERVER="${CONTAINER_SERVER:-false}"
- case "${AUTO}" in
+ case "${CONTAINER_SERVER}" in
${HOST}|true)
;;