summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_hostype.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-30 21:41:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-30 21:41:42 (GMT)
commit1485cf1105f30b4542c28b688c3478ce39b883c7 (patch)
treeec4f5bc469411d7812bd6dbe9b88b29716b4b11b /abs/core/LinHES-config/mv_hostype.py
parentf974db507d6236cb82d3daf31073fcfe82bcf2ed (diff)
downloadlinhes_pkgbuild-1485cf1105f30b4542c28b688c3478ce39b883c7.zip
linhes_pkgbuild-1485cf1105f30b4542c28b688c3478ce39b883c7.tar.gz
linhes_pkgbuild-1485cf1105f30b4542c28b688c3478ce39b883c7.tar.bz2
LinHES-config: For FE only systems set BackendIP to NULL.
By setting it to null it will autoselect which private IP to accept connections on for remote control. refs #858 closes #858
Diffstat (limited to 'abs/core/LinHES-config/mv_hostype.py')
-rwxr-xr-xabs/core/LinHES-config/mv_hostype.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_hostype.py b/abs/core/LinHES-config/mv_hostype.py
index 473cc94..6d8446b 100755
--- a/abs/core/LinHES-config/mv_hostype.py
+++ b/abs/core/LinHES-config/mv_hostype.py
@@ -91,6 +91,16 @@ def setup_mysql_connection(systemconfig):
b=mv_common.runcmd_output(cmd)
logging.debug(b)
+ if systemtype == "Frontend_only":
+ fehost = mythip
+ logging.debug(" Changing Frontend_only in settings BIP Null: %s", fehost)
+ cmd = '''%s/bin/myth_settings_wrapper.sh -c BECONFIG -s frontendonly ''' %(mv_root)
+ #cmd = '''%s/bin/restore_default_settings.sh -c BECONFIG -s slave -a %s ''' %(mv_root, slavehost)
+ b=mv_common.runcmd_output(cmd)
+ logging.debug(b)
+
+
+
if systemtype == "Standalone":
#THIS IS NEVER CALLED ANYMORE, need to move the mysql.txt stuff