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:
parent
55bc1c39d2
commit
1e344d5a7a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue