mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Create awx group in container
This commit is contained in:
parent
341e1e34e3
commit
c6be92cdf6
@ -234,6 +234,7 @@ RUN for dir in \
|
||||
for file in \
|
||||
/etc/subuid \
|
||||
/etc/subgid \
|
||||
/etc/group \
|
||||
/etc/passwd \
|
||||
/var/lib/awx/rsyslog/rsyslog.conf ; \
|
||||
do touch $file ; chmod g+rw $file ; chgrp root $file ; done
|
||||
|
||||
@ -7,6 +7,10 @@ root:x:0:0:root:/root:/bin/bash
|
||||
awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash
|
||||
EOF
|
||||
|
||||
cat <<EOF >> /etc/group
|
||||
awx:x:`id -u`:awx
|
||||
EOF
|
||||
|
||||
cat <<EOF > /etc/subuid
|
||||
awx:100000:50001
|
||||
EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user