mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Updates to production container builds for new repository
This commit is contained in:
8
installer/openshift/launch_awx.sh
Executable file
8
installer/openshift/launch_awx.sh
Executable 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
|
||||
awx-manage collectstatic --noinput --clear
|
||||
supervisord -c /supervisor.conf
|
||||
Reference in New Issue
Block a user