Add/update/delete PrometheusRemoteEndpoint CR
[demo.git] / vnfs / DAaaS / microservices / remote-config-operator / build / bin / user_setup
1 #!/bin/sh
2 set -x
3
4 # ensure $HOME exists and is accessible by group 0 (we don't know what the runtime UID will be)
5 mkdir -p ${HOME}
6 chown ${USER_UID}:0 ${HOME}
7 chmod ug+rwx ${HOME}
8
9 # runtime user will need to be able to self-insert in /etc/passwd
10 chmod g+rw /etc/passwd
11
12 # no need for this script to remain in the image after running
13 rm $0