I am making a .sh script that will automatically install New Relic's agent on Linux. During installation, there is a prompt if I want to use some extra features, but I don't want them, and I am not sure how can I write a script that will decline that part.
Command:
sudo NEW_RELIC_API_KEY=____NEW_RELIC_ACCOUNT_ID=___ NEW_RELIC_REGION=EU /usr/local/bin/newrelic install
If I add -y after install, it will accept everything, but I wanna the opposite thing.
You can see an example in the screenshot. enter image description here