commit dd37b867cb67d813167d3e05978752de82a4d3da Author: likui Date: Thu Aug 20 17:55:49 2020 +0800 Delete the /var/log/kolla directory should use sudo Change-Id: Iff699b6dd9417e2e72618263641cbfa6ccb6e585 Related-Bug: #1892341 (cherry picked from commit 8d458e95a4f0fc6299bf685f0554a54271dc4a56) diff --git a/tools/cleanup-containers b/tools/cleanup-containers index 946c824..18988b5 100755 --- a/tools/cleanup-containers +++ b/tools/cleanup-containers @@ -44,6 +44,6 @@ echo "Removing volumes..." (sudo docker volume rm ${volumes_to_remove} 2>&1) > /dev/null echo "Removing link of kolla_log volume..." -(rm -f /var/log/kolla 2>&1) > /dev/null +(sudo rm -f /var/log/kolla 2>&1) > /dev/null echo "All cleaned up!"