#!/bin/bash # We need to install this early in install.d because other elements will # need to use os-refresh-config --print-base to know where to put files set -eux install-packages git-core python-pip pip install git+https://github.com/tripleo/os-refresh-config.git for d in pre-configure.d configure.d migration.d post-configure.d; do install -m 0755 -o root -g root -d /opt/stack/os-config-refresh/$d done # Upstart if [ -d /etc/init ] ; then cat > /etc/init/os-refresh-config.conf < /etc/systemd/system/os-refresh-config.service <