Remove hardcoded values in matrix-remove-all

Use matrix_docker_network and matrix_base_data_path in matrix-remove-all
instead of hardcoded default values.
This commit is contained in:
Hugues De Keyzer 2019-04-27 22:12:05 +02:00
parent 55bc1c39d2
commit 1e344d5a7a

View File

@ -26,9 +26,9 @@ else
echo "Remove every docker images"
docker rmi $(docker images -aq)
echo "Remove docker matrix network"
docker network rm matrix
echo "Remove /matrix directory"
rm -fr /matrix
docker network rm {{ matrix_docker_network }}
echo "Remove {{ matrix_base_data_path }} directory"
rm -fr "{{ matrix_base_data_path }}"
exit 0
fi