summaryrefslogtreecommitdiffstats
path: root/Tasks/distribution/beaker/setup/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Tasks/distribution/beaker/setup/runtest.sh')
-rwxr-xr-xTasks/distribution/beaker/setup/runtest.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tasks/distribution/beaker/setup/runtest.sh b/Tasks/distribution/beaker/setup/runtest.sh
index 605e69b..78caea4 100755
--- a/Tasks/distribution/beaker/setup/runtest.sh
+++ b/Tasks/distribution/beaker/setup/runtest.sh
@@ -301,7 +301,13 @@ function Inventory()
InstallInventory$SOURCE
# Backup /etc/my.cnf and make INNODB the default engine.
cp /etc/my.cnf /etc/my.cnf-orig
- cat /etc/my.cnf-orig | awk '{print $1}; /\[mysqld\]/ {print "default-storage-engine=INNODB"}' | awk '{print$1}; /\[mysqld\]/ {print "max_allowed_packet=50M" }' > /etc/my.cnf
+ cat /etc/my.cnf-orig | awk '
+ {print $1};
+ /\[mysqld\]/ {
+ print "default-storage-engine=INNODB";
+ print "max_allowed_packet=50M";
+ print ENVIRON["MYSQL_EXTRA_CONFIG"];
+ }' > /etc/my.cnf
#
service mysqld start
estatus_fail "**** Failed to start mysqld ****"