6bf07b12d3
Do nothing if we are booted on a server which has no instance-id set, such as a non-cloud VM or server. Change-Id: I6df81edbea1b2b4e4f1ef11a9f2ddaf100d98eda
12 lines
321 B
Bash
Executable File
12 lines
321 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 $(dirname $0)/mysql-set-server-id.upstart /etc/init/mysql-set-server-id.conf
|
|
|
|
install-packages sysstat mytop percona-toolkit mysql-server-5.5 mysql-client-5.5
|