From 5776f47d6e5ee4fe7797ec31aad2e3bbbb08b8d2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 17 Feb 2019 18:40:15 +0100 Subject: Adding upstream version 20190217. Signed-off-by: Daniel Baumann --- lib/container/remove | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'lib/container/remove') diff --git a/lib/container/remove b/lib/container/remove index 275c867..7e9d871 100755 --- a/lib/container/remove +++ b/lib/container/remove @@ -1,7 +1,6 @@ #!/bin/sh -# container-tools - Manage systemd-nspawn containers -# Copyright (C) 2014-2018 Daniel Baumann +# Copyright (C) 2014-2019 Daniel Baumann # # 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" Parameters () @@ -125,6 +124,12 @@ case "${NAME}" in for NAME in ${NAMES} do + case "${VERBOSE}" in + true) + echo "Removing container ${NAME}..." + ;; + esac + container remove --name ${NAME} ${OPTIONS_ALL} || true done -- cgit v1.2.3