Commit 8994e26f authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Added creating shared and data folders in the standalone computing service startup.

parent 051dbbb1
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -12,6 +12,20 @@ chmod 777 /dev/net/tun
#PROXY_IP=$(ping proxy -c1 | head -n1 | cut -d '(' -f2 | cut -d')' -f1)
#PROXY_IP=$(ping proxy -c1 | head -n1 | cut -d '(' -f2 | cut -d')' -f1)
#echo "$PROXY_IP rosetta.platform" >> /etc/hosts
#echo "$PROXY_IP rosetta.platform" >> /etc/hosts


# Create shared data directories
mkdir -p /shared/scratch
chmod 777 /shared/scratch

mkdir -p /shared/data/shared
chmod 777 /shared/data/shared

mkdir -p /shared/data/users
chown rosetta:rosetta /shared/data/users/

mkdir -p /shared/data/users/testuser
chown testuser:testuser /shared/data/users/testuser


#---------------------
#---------------------
#  Entrypoint command
#  Entrypoint command
#---------------------
#---------------------