diff --git a/config/templates/config-example.conf b/config/templates/config-example.conf.template similarity index 100% rename from config/templates/config-example.conf rename to config/templates/config-example.conf.template diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index 2dd60e40b7..96e4f8ba1a 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -121,6 +121,7 @@ function prepare_host_noninteractive() { # @TODO: rpardini: this does not belong here, instead with the other templates, pre-configuration. [[ ! -f "${USERPATCHES_PATH}"/customize-image.sh ]] && run_host_command_logged cp -pv "${SRC}"/config/templates/customize-image.sh.template "${USERPATCHES_PATH}"/customize-image.sh + [[ ! -f "${USERPATCHES_PATH}"/config-example.conf ]] && run_host_command_logged cp -pv "${SRC}"/config/templates/config-example.conf.template "${USERPATCHES_PATH}"/config-example.conf if [[ -d "${USERPATCHES_PATH}" ]]; then # create patches directory structure under USERPATCHES_PATH