diskimage-builder/elements/os-config-applier/install.d/99-install-config-templates
Tim Miller 8346115bf9 Make 99-install-config-templates executable:
This script is not run by dib unless it is executable.

Change-Id: Ic7658cd229dba5635a4ea445f0c62d9f22198729
2013-03-06 13:37:20 -08:00

9 lines
375 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-config-applier into the appropriate location.
set -eux
TEMPLATE_ROOT=$(os-config-applier --print-templates)
TEMPLATE_SOURCE=$(dirname $0)/../os-config-applier
rsync -r $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/