summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-01-11 05:41:20 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-01-11 05:41:20 +0000
commit192c3a527e5e0d6c176a5c083710b2568c6698a2 (patch)
tree1c1fee04f084701425c62baaf2a5852bad226af3 /lib/container/start
parentSetting default debian distribution to buster in debootstrap container create... (diff)
downloadcompute-tools-192c3a527e5e0d6c176a5c083710b2568c6698a2.tar.xz
compute-tools-192c3a527e5e0d6c176a5c083710b2568c6698a2.zip
Adding verbose output when using '-n ALL' options with container commands.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container/start')
-rwxr-xr-xlib/container/start6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/container/start b/lib/container/start
index 31ed47e..d73e328 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -106,6 +106,12 @@ case "${NAME}" in
for NAME in ${NAMES}
do
+ case "${VERBOSE}" in
+ true)
+ echo "Starting container ${NAME}..."
+ ;;
+ esac
+
container start --name ${NAME} ${OPTIONS_ALL} || true
done