.
This commit is contained in:
11
templates/squashkiwi/nuke.sh
Normal file
11
templates/squashkiwi/nuke.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/_common.sh"
|
||||
_check_required_env_vars "LOCAL_DATA_FOLDER"
|
||||
|
||||
# remove the local data folder
|
||||
if [ -d "${LOCAL_DATA_FOLDER}" ]; then
|
||||
rm -rf ${LOCAL_DATA_FOLDER}
|
||||
fi
|
||||
|
||||
echo "Nuke of ${CONTAINER_NAME} complete"
|
||||
|
Reference in New Issue
Block a user