summaryrefslogtreecommitdiffstats
path: root/mcp/scripts
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-12-20 15:32:48 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-12-21 17:21:16 +0400
commite821b9398a5a998bec0143d56efb93018b8bcd8c (patch)
tree8434b89ce9044fab4ef580a8bdbd4d96a6ca075f /mcp/scripts
parenta31343155a621469f6e803b23dc6cc8bbb545dfa (diff)
Pull out rocky patches
This commit should be reverted once original formulas get required support of rocky version. Change-Id: Ia3458381bced0cae8dbfacc9781c90933ad5c822 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/scripts')
-rwxr-xr-xmcp/scripts/docker-compose/files/entrypoint.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcp/scripts/docker-compose/files/entrypoint.sh b/mcp/scripts/docker-compose/files/entrypoint.sh
index 0199c3901..eb549bc28 100755
--- a/mcp/scripts/docker-compose/files/entrypoint.sh
+++ b/mcp/scripts/docker-compose/files/entrypoint.sh
@@ -69,6 +69,13 @@ for formula in /usr/share/salt-formulas/reclass/service/*; do
ln -sf "${formula}" "/srv/salt/reclass/classes/service/$(basename ${formula})"
done
+# Temporary link queens configs to rocky
+for f in /srv/salt/env/prd/*/files/queens; do
+ if [ ! -d "$f/../rocky" ]; then
+ ln -sf "$f" "$f/../rocky"
+ fi
+done
+
# Tini init system resembles upstart very much, but needs a little adjustment
sed -i -e "s|return 'start/running' in |return 'is running' in |" \
-e "s|ret = _default_runlevel|return _default_runlevel|" \