diff options
author | James Meyer <james.meyer@operamail.com> | 2012-10-30 21:41:42 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-10-30 21:41:42 (GMT) |
commit | 1485cf1105f30b4542c28b688c3478ce39b883c7 (patch) | |
tree | ec4f5bc469411d7812bd6dbe9b88b29716b4b11b /abs/core/LinHES-config/mv_hostype.py | |
parent | f974db507d6236cb82d3daf31073fcfe82bcf2ed (diff) | |
download | linhes_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-x | abs/core/LinHES-config/mv_hostype.py | 10 |
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 |