diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-01 16:45:57 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-01 16:45:57 +0000 |
| commit | b6c40d9deb40404aa83b9e391d12ab1de3eae720 (patch) | |
| tree | 93caf2a9f3a67d7a10388eb5270a426a1b963c45 /docker/nova | |
| parent | f85ac43be40c71f30cc95f79fbc9952e860f8e15 (diff) | |
| parent | 2b741eb8703fd7886764107b05741c8415751991 (diff) | |
| download | kolla-b6c40d9deb40404aa83b9e391d12ab1de3eae720.tar.gz kolla-b6c40d9deb40404aa83b9e391d12ab1de3eae720.zip | |
Merge "Create the nova instances directory when need during starting"
Diffstat (limited to 'docker/nova')
| -rw-r--r-- | docker/nova/nova-compute/extend_start.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docker/nova/nova-compute/extend_start.sh b/docker/nova/nova-compute/extend_start.sh index 76226cd90..a458625ec 100644 --- a/docker/nova/nova-compute/extend_start.sh +++ b/docker/nova/nova-compute/extend_start.sh @@ -1,8 +1,5 @@ #!/bin/bash -# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases -# of the KOLLA_BOOTSTRAP variable being set, including empty. -if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then +if [[ ! -d /var/lib/nova/instances ]]; then mkdir -p /var/lib/nova/instances - exit 0 fi |
