Installing plugins auto approval (-y)

I'm trying to install ES on EC2 instances via userdata.

I use this command bin/plugin install cloud-aws to install a plugin but it requires an answer to this in order to install : Continue with installation? [y/N]

I tried to use the -y flag but it didn't work. how can I auto approve this for install?

I have used theyes command (yes | bin/plugin install cloud-aws) for other plugins, so you may want to try that.

1 Like

I think you can add --batch.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.