Commit 201d0665 authored by Daniele Venzano's avatar Daniele Venzano

Run the customization script as root

parent 88db84c7
Pipeline #10396 passed with stages
in 2 minutes and 19 seconds
......@@ -8,7 +8,7 @@ if [ -n "$ZOE_USER" ]; then
useradd -s /bin/bash -N -u $ZOE_UID -d $ZOE_WORKSPACE -g $ZOE_GID $ZOE_USER
cd $ZOE_WORKSPACE
if [ -x /opt/custom_startup.sh ]; then
sudo -E -H -u $ZOE_USER /opt/custom_startup.sh
/opt/custom_startup.sh
fi
sudo -E -H -u $ZOE_USER $@
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment