We didn't need to do most of this anyway, we just needed to configure mysql before we installed the packages in the image. Some of the other things were half-baked ideas which will come in later changes to add os-refresh-config and os-config-applier support to the element. Change-Id: Ib1b66a8b3b70fac10f3f826b1efd414c67f9bfc6
11 lines
236 B
Bash
Executable File
11 lines
236 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Install controller base requiered packages
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
install -D -m 0644 -o root -g root $(dirname $0)/my.cnf /etc/mysql/my.cnf
|
|
|
|
install-packages sysstat mytop percona-toolkit mysql-server-5.5 mysql-client-5.5
|