b8f7693d41
Almanach record the utilization of OpenStack resources for each tenant. Implements: blueprint containerized-almanach Change-Id: Iba2e16772864a6f0169ec43d7a87d741882cd51c
9 lines
202 B
Bash
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
|