yunohost-ci/cleanup.sh
2019-11-26 22:06:02 +09:00

10 lines
No EOL
259 B
Bash
Executable file

#!/usr/bin/env bash
# /opt/lxd-executor/cleanup.sh
currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source ${currentDir}/base.sh # Get variables from base.
echo "Deleting container $CONTAINER_ID"
lxc delete -f "$CONTAINER_ID"