tripleo-image-elements/elements/os-apply-config/install.d/99-install-config-templates
Ghe Rivero 884ab16968 Remove references to os-config-applier
Change last references to os-config-applier (scripts, file names and
documentation) in os-apply-config element.

Change-Id: Ifa46522a48668adcef0d1fd5d28d2fc85141dce5
2014-07-11 09:21:11 +00:00

11 lines
441 B
Bash
Executable File

#!/bin/bash
# Note that this relies on the detail that all elements share one dir
# inside the chroot. This will copy all the files that elements have
# added to element/os-apply-config into the appropriate location.
set -eux
TEMPLATE_ROOT=$(os-apply-config --print-templates)
TEMPLATE_SOURCE=$(dirname $0)/../os-apply-config
mkdir -p $TEMPLATE_ROOT
[ -d $TEMPLATE_SOURCE ] && rsync --exclude='.*.swp' -Cr $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/