Moving Openshift work to installer directory to reduce conflicts

This commit is contained in:
Matthew Jones
2017-06-30 15:25:10 -04:00
parent d1ec8f93c0
commit 4c32597873
13 changed files with 594 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [ `id -u` -ge 10000 ]; then
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
fi
tower-manage collectstatic --noinput --clear
supervisord -c /supervisor.conf