diff options
| author | Zuul <zuul@review.opendev.org> | 2020-02-20 20:09:03 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2020-02-20 20:09:03 +0000 |
| commit | 0c5432dc8ed7e1c03b13abe54868f0bb31e16ff5 (patch) | |
| tree | 5c99b91e94b3581c824fdc86ade922af9fd252d3 /tools | |
| parent | 021de4c0bae6af3fdd9247f7ff15ab881a80f13d (diff) | |
| parent | 4cf7ff9fa22fa4f38ddde5df1b8ad17c7475f0a2 (diff) | |
| download | kolla-ansible-0c5432dc8ed7e1c03b13abe54868f0bb31e16ff5.tar.gz kolla-ansible-0c5432dc8ed7e1c03b13abe54868f0bb31e16ff5.zip | |
Merge "Introduce influxdb_datadir_volume"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/cleanup-host | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host index dfffa6157..25dfc176a 100755 --- a/tools/cleanup-host +++ b/tools/cleanup-host @@ -63,6 +63,11 @@ if [[ "$gnocchi_metric_datadir_volume" != "gnocchi" && -d "$gnocchi_metric_datad rm -rfv $gnocchi_metric_datadir_volume fi +if [[ "$influxdb_datadir_volume" != "influxdb" && -d "$influxdb_datadir_volume" ]]; then + echo "Removing influxdb volume if it is customzied" + rm -rfv $influxdb_datadir_volume +fi + FOLDER_PATH="/etc/kolla/" if [[ -e "$FOLDER_PATH/ovsdpdk-db/ovs-dpdkctl.sh" ]]; then |
