Issue adding master only node -- path.repo not set?

Please format your code using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Please edit your post.

You should better remove the settings you added in your elasticsearch.yml file IMO.