Commit 574c3708 authored by Markus Frosch's avatar Markus Frosch
Browse files

testing: Use meta package for MySQL by default

parent 45202c88
......@@ -11,8 +11,16 @@ if [ -d archive ]; then
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install --allow-unauthenticated -y icinga2 icinga2-ido-mysql mysql-server
sudo bash -xe <<ROOTSHELL
export DEBIAN_FRONTEND=noninteractive
sudo icinga2 feature list
if ! apt-get install -y default-mysql-server; then
# Fallback to non-metapackage on older distributions
apt-get install -y mysql-server
sudo icinga2 daemon -C
apt-get install --allow-unauthenticated -y icinga2 icinga2-ido-mysql
icinga2 feature list
icinga2 daemon -C
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment