kolla-ansible/docker/nova/nova-base/extend_start.sh
Éric Lemoine ede53b1dcb Remove duplicate code in nova extend_start.sh
Change-Id: I37d737509bc7cf3dc74bb13ecb0a6ae68080556e
Partial-Bug: #1546944
2016-02-23 08:58:46 +01:00

11 lines
233 B
Bash

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