Files
tripleo-image-elements/elements/os-apply-config/install.d/11-create-template-root
James Slagle 0c88279fd4 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
2014-03-19 16:09:49 -04:00

7 lines
98 B
Bash
Executable File

#!/bin/bash
set -eux
TEMPLATE_ROOT=$(os-apply-config --print-templates)
mkdir -p $TEMPLATE_ROOT