kolla/docker/almanach/almanach-base/extend_start.sh
Bertrand Lallau b8f7693d41 Implement Almanach Docker images
Almanach record the utilization of OpenStack resources for each tenant.

Implements: blueprint containerized-almanach
Change-Id: Iba2e16772864a6f0169ec43d7a87d741882cd51c
2017-11-09 09:40:37 +00:00

9 lines
202 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/almanach" ]]; then
mkdir -p /var/log/kolla/almanach
fi
if [[ $(stat -c %a /var/log/kolla/almanach) != "755" ]]; then
chmod 755 /var/log/kolla/almanach
fi