6417595b9f
Added grafana repository to base image Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Installed grafana from repository Change-Id: Ib99195ec4522f185f6fd4cebf10e305bb58f69c4 Partially-Implements: Blueprint performance-monitoring
10 lines
199 B
Bash
10 lines
199 B
Bash
#!/bin/bash
|
|
|
|
if [[ ! -d "/var/log/kolla/grafana" ]]; then
|
|
mkdir -p /var/log/kolla/grafana
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/grafana) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/grafana
|
|
fi
|
|
|