Created
February 10, 2018 16:49
-
-
Save TaylorBurnham/e05c7a35fc5328fec5109e7ff37f1ab0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -O - https://packages.icinga.com/icinga.key | apt-key add - | |
DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \ | |
echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > \ | |
/etc/apt/sources.list.d/${DIST}-icinga.list | |
echo "deb-src http://packages.icinga.com/debian icinga-${DIST} main" >> \ | |
/etc/apt/sources.list.d/${DIST}-icinga.list | |
sudo apt-get install icinga2 -yy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment