File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 9
9
fi
10
10
11
11
case $UBUNTU_VERSION in
12
+ 24.04 )
13
+ printf "license_key: %s\n" "$NEWRELIC_KEY" | sudo tee /etc/newrelic-infra.yml
14
+ curl -fsSL https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/newrelic-infra.gpg
15
+ echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt/ noble main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
16
+ sudo apt-get update
17
+ sudo apt-get install newrelic-infra -y
18
+ Message="New relic is installed successfully for Ubuntu 24.04"
19
+ echo $Message
20
+ ;;
12
21
22.04 )
13
22
printf "license_key: %s\n" "$NEWRELIC_KEY" | sudo tee /etc/newrelic-infra.yml
14
23
curl https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg | sudo apt-key add -
You can’t perform that action at this time.
0 commit comments