Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,20 @@ chmod 777 /dev/net/tun ...@@ -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
#--------------------- #---------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment