You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed "/^opensearch_security/d"$OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml | tee $OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml
181
-
sed "s/https/http/"$OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml| tee $OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml
180
+
cat $OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml| sed "/^opensearch_security/d"| tee $OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml
181
+
cat $OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml |sed "s/https/http/g"| tee $OPENSEARCH_DASHBOARDS_HOME/config/opensearch_dashboards.yml
Copy file name to clipboardExpand all lines: docker/release/config/opensearch/opensearch-docker-entrypoint.sh
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,11 @@ if [ -d "$OPENSEARCH_HOME/plugins/$SECURITY_PLUGIN" ]; then
66
66
67
67
if [ "$DISABLE_SECURITY_PLUGIN"="true" ];then
68
68
echo"Disabling OpenSearch Security Plugin"
69
-
sed "s/plugins.security.disabled.*$/plugins.security.disabled: true"$OPENSEARCH_HOME/config/opensearch.yml | tee $OPENSEARCH_HOME/config/opensearch.yml
69
+
cat $OPENSEARCH_HOME/config/opensearch.yml | sed "/plugins.security.disabled/d"| tee $OPENSEARCH_HOME/config/opensearch.yml
0 commit comments