13 lines
283 B
Bash
Executable File
13 lines
283 B
Bash
Executable File
#!/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}."
|