Fix env.json owner 82 82 to allow changes in container

ogrepo-keys
Nicolas Arenas 2025-02-06 12:09:46 +01:00
parent 20a338a0d6
commit 4634061f41
2 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,7 @@ do
mkdir -p $component_dir/etc
cp $component_dir/repo/.env $component_dir/etc/
cp $component_dir/repo/env.json $component_dir/etc/
mkdir -p $component_dir/etc/
chown 82:82 $component_dir/etc/
mkdir -p $component_dir/bin/
cp $CONFIGS_DIR/provision_ogcore.sh $component_dir/bin/
chmod 755 $component_dir/bin/provision_ogcore.sh

View File

@ -48,7 +48,6 @@ curl -k -L --location 'https://localhost:8443/users' \
--header "Authorization: Bearer $bearer" \
--data "{ \"username\": \"$adminuser\", \"password\": \"$adminpass\", \"roles\": [\"ROLE_SUPER_ADMIN\"] }"
chown 82:82 /opt/opengnsys/ogCore/etc/env.json
touch /opt/opengnsys/ogCore/installer/.deployed
exit 0