Fix env.json owner 82 82 to allow changes in container
parent
20a338a0d6
commit
4634061f41
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue