summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-01-19 17:56:32 +0000
committerBill Peck <bpeck@redhat.com>2010-01-19 17:56:32 +0000
commit0b0463b7a2e9aa3d57740a57046b4f903bc61fd5 (patch)
treeeb2af0e24ae91d01adf14ea023f8b8a441127222
parent9ca30c0315142a055527732733b90ef87ba15e7f (diff)
-rwxr-xr-xTasks/distribution/beaker/setup/runtest.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tasks/distribution/beaker/setup/runtest.sh b/Tasks/distribution/beaker/setup/runtest.sh
index 53548d4..19d7b6d 100755
--- a/Tasks/distribution/beaker/setup/runtest.sh
+++ b/Tasks/distribution/beaker/setup/runtest.sh
@@ -240,6 +240,10 @@ function Inventory()
yum install -y $PACKAGES
estatus_fail "**** Yum Install of $PACKAGES Failed ****"
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"}' > /etc/my.cnf
+ #
service mysqld start
estatus_fail "**** Failed to start mysqld ****"