File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 51
51
docker_prune_this " $nc_fts "
52
52
docker_prune_this " $opens_fts "
53
53
docker_prune_volume " esdata"
54
+ docker_prune_volume " opensearch_fts_os-data"
54
55
docker_prune_volume " fts_os-data"
55
56
# Remove configuration files
56
57
rm -rf " $RORDIR "
@@ -211,6 +212,7 @@ services:
211
212
212
213
volumes:
213
214
fts_os-data:
215
+ name: fts_os-data
214
216
215
217
networks:
216
218
fts_os-net:
Original file line number Diff line number Diff line change 4
4
# Source:
5
5
# https://opensearch.org/docs/latest/security-plugin/configuration/generate-certificates/#sample-script
6
6
7
+ rm -rf tls_store
7
8
mkdir tls_store
8
9
TLS_DN=" /C=CA/ST=NEXTCLOUD/L=VM/O=OPENSEARCH/OU=FTS"
9
10
Original file line number Diff line number Diff line change @@ -1679,16 +1679,16 @@ then
1679
1679
msg_box " Removing old Docker image: $1
1680
1680
You will be given the option to abort when you hit OK."
1681
1681
any_key " Press any key to continue. Press CTRL+C to abort"
1682
- docker stop " $( docker container ls | grep " $1 " | awk ' {print $1}' | tail -1) "
1683
- docker rm " $( docker container ls | grep " $1 " | awk ' {print $1}' | tail -1) " --volumes
1682
+ docker stop " $( docker container ls -a | grep " $1 " | awk ' {print $1}' | tail -1) "
1683
+ docker rm " $( docker container ls -a | grep " $1 " | awk ' {print $1}' | tail -1) " --volumes
1684
1684
docker image prune -a -f
1685
1685
fi
1686
1686
}
1687
1687
1688
1688
# Remove selected Docker volume
1689
1689
# docker_prune_volume ''
1690
1690
docker_prune_volume () {
1691
- if docker volume ls | grep -q " ^ $1 $"
1691
+ if docker volume ls | grep -q " $1 $"
1692
1692
then
1693
1693
msg_box " Removing old Docker volume: $1
1694
1694
You will be given the option to abort when you hit OK."
You can’t perform that action at this time.
0 commit comments