Always create o-a-c's $TEMPLATE_ROOT
Creating $TEMPLATE_ROOT is common to both os-apply-config package and source installs, so move it into it's own install hook script under install.d. Change-Id: Iba79129cd111c144f67efabb93d4eb81641d1c2c
This commit is contained in:
parent
bbc2ae852c
commit
0c88279fd4
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
TEMPLATE_ROOT=$(os-apply-config --print-templates)
|
||||
mkdir -p $TEMPLATE_ROOT
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue