kolla/docker/blazar/blazar-base/extend_start.sh
Eduardo Gonzalez 7b1e550c3f Implement blazar Docker images
Blazar is a resource reservation service for OpenStack,
allows to reserve compute host for tenants.
Really usefull for HPC, NFV and Scientific environments.

Implements: blueprint blazar-images
Change-Id: If42087a791a7f84105c867509e4bbc7b423cb41e
2017-07-07 08:02:33 +00:00

11 lines
238 B
Bash

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