kolla/docker/nova/nova-compute/extend_start.sh
Jeffrey Zhang 2b741eb870 Create the nova instances directory when need during starting
The /var/lib/nova/instances should be create if it do not exist
during starting nova-compute container. Rather than create it
at the bootstrap service stage.

Change-Id: Ibcc5fb8eec0b38cf2b4313f48d1beb3ba83b1e85
Closes-Bug: #1614970
2016-08-20 17:30:13 +00:00

6 lines
97 B
Bash

#!/bin/bash
if [[ ! -d /var/lib/nova/instances ]]; then
mkdir -p /var/lib/nova/instances
fi