diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-04 16:02:19 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-04 16:02:19 (GMT) |
commit | 53be0cba35f7ab5880be30b397f2e1671611e34d (patch) | |
tree | 0d07a75287e2ad67f30e7055f57c120523e2f8b8 | |
parent | f768ebf6fd77b111e0135099f5c1a7fbdd6c78ca (diff) | |
download | linhes_pkgbuild-53be0cba35f7ab5880be30b397f2e1671611e34d.zip linhes_pkgbuild-53be0cba35f7ab5880be30b397f2e1671611e34d.tar.gz linhes_pkgbuild-53be0cba35f7ab5880be30b397f2e1671611e34d.tar.bz2 |
linhes-config: Fix auto nfs shares for none nfs servers
-rwxr-xr-x | abs/core-testing/LinHES-config/mv_misc.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/mv_misc.py b/abs/core-testing/LinHES-config/mv_misc.py index 27aeb98..c93cd71 100755 --- a/abs/core-testing/LinHES-config/mv_misc.py +++ b/abs/core-testing/LinHES-config/mv_misc.py @@ -75,9 +75,14 @@ def setup_nfs(systemconfig): nfsmap_file = download_nfsmap(ip) nfslist = process_nfsmap_file(nfsmap_file) #else treat it as a single mount point + else: + item = (systemconfig["NFSserver"] , systemconfig["NFSmount"]) + nfslist.append(item) else: - item = (systemconfig["NFSserver"] , systemconfig["NFSmount"]) - nfslist.append(item) + #if standalone or slave try to use MBE + if systemconfig["SystemType"] == "Frontend_only" or systemconfig["SystemType"] == "Slave_Backend": + item = (systemconfig["dbhost"] , data_config.DATAMOUNT) + nfslist.append(item) setup_nfs_fstab(nfslist) logging.info("__End of nfs\n") |