From 841af294b3de32594fc380a54df1938117f976e8 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 20 Jun 2009 20:37:54 -0500 Subject: linhes-config: setup_mysql --- abs/core-testing/LinHES-config/mv_hostype.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abs/core-testing/LinHES-config/mv_hostype.py b/abs/core-testing/LinHES-config/mv_hostype.py index fff0e8a..093ed5a 100755 --- a/abs/core-testing/LinHES-config/mv_hostype.py +++ b/abs/core-testing/LinHES-config/mv_hostype.py @@ -39,6 +39,7 @@ def setup_db(): def setup_mysqlnetwork(): logging.debug(" Setting up mysql network") + def setup_mysql(): logging.debug(" Configuring mysql") @@ -71,6 +72,7 @@ def hostypeprint(systemconfig): logging.info("Stand alone system being configured") setup_ntp(False,"null") remove_avahi_service() + setup_mysqlnetwork(False) if systemconfig["hostypec"]: setup_db() install_list=("mysql", "mythdb-initial", "avahi", "portmap", "nfs-utils", "local-website", "myth2ipod", "mythtv-status") @@ -82,6 +84,7 @@ def hostypeprint(systemconfig): setup_avahi(systemconfig["TEMPLATES"]) install_list=("mysql", "mythdb-initial", "avahi", "portmap", "nfs-utils", "local-website", "myth2ipod", "mythtv-status") daemon_list=("mysql", "mythbackend", "avahi", "portmap", "nfs-utils", "netfs", "lighttpd") + setup_mysqlnetwork(True) if data_config.SYSTEMTYPE == "MythVantage": install_list.append('func') install_list.append('certmaster') @@ -138,7 +141,7 @@ def hostypeprint(systemconfig): mv_common.remove_service("frontend") mv_common.remove_service("hal") - setup_mysqlnetwork() + setup_mysql() if data_config.SYSTEMTYPE == "MythVantage": setup_func_minion(dbhost) -- cgit v0.12