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"
|
echo "Remove every docker images"
|
||||||
docker rmi $(docker images -aq)
|
docker rmi $(docker images -aq)
|
||||||
echo "Remove docker matrix network"
|
echo "Remove docker matrix network"
|
||||||
docker network rm matrix
|
docker network rm {{ matrix_docker_network }}
|
||||||
echo "Remove /matrix directory"
|
echo "Remove {{ matrix_base_data_path }} directory"
|
||||||
rm -fr /matrix
|
rm -fr "{{ matrix_base_data_path }}"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue