Files
deb-python-diskimage-builder/elements/mysql/install.d/10-mysql
Clint Byrum 72534d6eba Refactor mysql element to do less in first-boot.d
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
2013-04-02 01:31:40 +00:00

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