summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container/start')
-rwxr-xr-xlib/container/start13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/container/start b/lib/container/start
index ac0275e..8c8db44 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -1,7 +1,6 @@
#!/bin/sh
-# container-tools - Manage systemd-nspawn containers
-# Copyright (C) 2014-2018 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+# Copyright (C) 2014-2019 Daniel Baumann <daniel.baumann@open-infrastructure.net>
#
# SPDX-License-Identifier: GPL-3.0+
#
@@ -22,8 +21,8 @@ set -e
COMMAND="$(basename ${0})"
-CONFIG="/etc/container-tools/config"
-HOOKS="/etc/container-tools/hooks"
+CONFIG="/etc/compute-tools/container/config"
+HOOKS="/etc/compute-tools/container/hooks"
MACHINES="/var/lib/machines"
START="false"
@@ -106,6 +105,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