Templates.
This commit is contained in:
12
simple-object-storage/destroy.sh
Executable file
12
simple-object-storage/destroy.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars
|
||||
|
||||
# Simple Object Storage Destroy Script
|
||||
# Removes container AND volume.
|
||||
|
||||
./uninstall.sh
|
||||
|
||||
datadestroy "volume=${VOLUME_NAME}" || _die "Failed to Destroy volume ${VOLUME_NAME}"
|
||||
|
||||
echo "Destroyed ${CONTAINER_NAME}."
|
Reference in New Issue
Block a user