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-29 08:46:20 +0000 |
commit | 6c75eca760619440013078068d592c5bdc646e87 (patch) | |
tree | a5616a206290ffce41af35c9c1c4a06e4c0dbafb /lib/container/list | |
parent | Removing net-tools from host-setup documentation, it is a direct depends of c... (diff) | |
download | compute-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-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) ;; |