diff options
-rwxr-xr-x | abs/core-testing/LinHES-config/mv_hostype.py | 5 |
1 files changed, 4 insertions, 1 deletions
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) |