diff --git a/openstack-ansible/cleanup_host.sh b/openstack-ansible/cleanup_host.sh new file mode 100644 index 0000000..e978f48 --- /dev/null +++ b/openstack-ansible/cleanup_host.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# This script reclaims space on a host that might +# be low on disk space by getting rid of logs and +# extra data. + +find /openstack/log/ -type f | xargs -n1 truncate -s0