Delete the /var/log/kolla directory should use sudo

Change-Id: Iff699b6dd9417e2e72618263641cbfa6ccb6e585
Related-Bug: #1892341
This commit is contained in:
likui 2020-08-20 17:55:49 +08:00
parent 393888a1cb
commit 8d458e95a4

View File

@ -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!"