diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-02 01:07:56 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-02 01:07:56 (GMT) |
commit | e98d93babfa1fc1d248e2433e566329fe5a92ff0 (patch) | |
tree | 1b2c65e2850424f2e545d02902c50689ab4d6f62 /abs/core/LinHES-config/systemconfig.py | |
parent | 9aa30f297ad0cb6dbc9c9b2f1bcc1c89ff0a5db6 (diff) | |
download | linhes_pkgbuild-e98d93babfa1fc1d248e2433e566329fe5a92ff0.zip linhes_pkgbuild-e98d93babfa1fc1d248e2433e566329fe5a92ff0.tar.gz linhes_pkgbuild-e98d93babfa1fc1d248e2433e566329fe5a92ff0.tar.bz2 |
LinHES-config: moved config of file shares to it's own modules.
Diffstat (limited to 'abs/core/LinHES-config/systemconfig.py')
-rwxr-xr-x | abs/core/LinHES-config/systemconfig.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/abs/core/LinHES-config/systemconfig.py b/abs/core/LinHES-config/systemconfig.py index 8686841..d2596e7 100755 --- a/abs/core/LinHES-config/systemconfig.py +++ b/abs/core/LinHES-config/systemconfig.py @@ -74,7 +74,7 @@ def main(argv): "plugins":False, "smolt":False, "all":False, "dhcp_request":False , "func":False, "supplemental":False, - "vnc":False } + "vnc":False, "fileshare":False } try: opts, args = getopt.getopt(argv, 'c:hm:d:', ["help","modules" ] ) except getopt.GetoptError, why: @@ -120,6 +120,12 @@ def main(argv): #cmdmodule["smolt"] = True cmdmodule["user"] = True cmdmodule["vnc"] = True + cmdmodule["fileshare"] = True + + ##putting this here until I can create the seperate share module + #if cmdmodule["fileshare"]: + #cmdmodule["advanced"] = True + #cmdmodule["misc"] = True if cmdmodule["network"]: restartfe = mv_network.setup_network(systemconfig, cmdmodule["this_is_install"]) @@ -196,7 +202,7 @@ def main(argv): #zipcode is no longer used #mv_misc.setup_zip(MVROOT,systemconfig.get("zipcode")) mv_misc.setup_tz(systemconfig.get("timezone"),systemconfig["TEMPLATES"]) - mv_misc.setup_nfs(systemconfig) + #mv_misc.setup_nfs(systemconfig) if cmdmodule["sleep"]: if mv_common.read_config(mv_common.module_config,"sleep") == False : @@ -221,6 +227,11 @@ def main(argv): import mv_advanced mv_advanced.setup_advanced(systemconfig, data_config) + if cmdmodule["fileshare"]: + import mv_fileshare + mv_fileshare.setup_fileshare(systemconfig, data_config) + + if cmdmodule["software"] or cmdmodule["plugins"]: import mv_software mv_software.setup_software(systemconfig, data_config) |