diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-06-01 13:23:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-06-24 14:11:54 +0000 |
commit | cfb5c24f96f6fa9f45fab986e382d6aa6aef7a55 (patch) | |
tree | 453f48667920d9eb98e7d6472a251d9229971b16 /lib/container/list | |
parent | Adding new container top command manpage. (diff) | |
download | compute-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/list')
-rwxr-xr-x | lib/container/list | 6 |
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) ;; |