Remove options in init skript

This commit is contained in:
Jan Eitzinger 2021-09-13 08:59:06 +02:00
parent e44a6bae4d
commit 444b726a05

View File

@ -21,11 +21,6 @@ wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais
tar xJf job-archive.tar.xz tar xJf job-archive.tar.xz
rm ./job-archive.tar.xz rm ./job-archive.tar.xz
# Default: Copy SQL source for demo use - Includes no INFLUX-Job Metadata
cp ./sql-source/ClusterCockpit-demo.sql ./sql-init/ClusterCockpit.sql
if [ $# -gt 0 ]; then
if [ $1 == "dev" ]; then
# 101 is the uid and gid of the user and group www in the cc-php container running php-fpm. # 101 is the uid and gid of the user and group www in the cc-php container running php-fpm.
# For a demo with no new jobs it is enough to give www read permissions on that directory. # For a demo with no new jobs it is enough to give www read permissions on that directory.
echo "This script needs to chown the job-archive directory so that the application can write to it:" echo "This script needs to chown the job-archive directory so that the application can write to it:"
@ -36,9 +31,3 @@ if [ $# -gt 0 ]; then
cd influxdb/data cd influxdb/data
tar xJf ../../influxdbv2-data.tar.xz tar xJf ../../influxdbv2-data.tar.xz
rm ../../influxdbv2-data.tar.xz rm ../../influxdbv2-data.tar.xz
cd ../..
# If development: Use SQL source including INFLUX-Job Metadata instead
cp ./sql-source/ClusterCockpit-dev.sql ./sql-init/ClusterCockpit.sql
fi
fi