cbd42ca6e9
Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir
12 lines
229 B
Bash
12 lines
229 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/mariadb/galera.cnf"
|
|
TARGET="/etc/my.cnf.d/galera.cnf"
|
|
OWNER="mysql"
|
|
|
|
# Cluster configuration
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0600 $TARGET
|
|
fi
|