Merge "Always create o-a-c's $TEMPLATE_ROOT"

This commit is contained in:
Jenkins 2014-03-21 02:56:51 +00:00 committed by Gerrit Code Review
commit f304a773ac
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
TEMPLATE_ROOT=$(os-apply-config --print-templates)
mkdir -p $TEMPLATE_ROOT

View File

@ -12,6 +12,3 @@ virtualenv --setuptools /opt/stack/venvs/os-apply-config
ln -s /opt/stack/venvs/os-apply-config/bin/os-apply-config /usr/local/bin/os-apply-config
ln -s /opt/stack/venvs/os-apply-config/bin/os-config-applier /usr/local/bin/os-config-applier
TEMPLATE_ROOT=$(os-apply-config --print-templates)
mkdir -p $TEMPLATE_ROOT