Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
raspbian-icinga2
Commits
574c3708
Commit
574c3708
authored
Apr 26, 2019
by
Markus Frosch
Browse files
testing: Use meta package for MySQL by default
parent
45202c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
testing/start_test.sh
View file @
574c3708
...
...
@@ -11,8 +11,16 @@ if [ -d archive ]; then
sudo
apt-get update
fi
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
fi
sudo
icinga2 daemon
-C
apt-get install --allow-unauthenticated -y icinga2 icinga2-ido-mysql
icinga2 feature list
icinga2 daemon -C
ROOTSHELL
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment