From: Thierry Parmentelat Date: Tue, 12 May 2009 16:10:45 +0000 (+0000) Subject: tweaks for princeton setup (esp. disable PLC_MAIL) X-Git-Tag: tests-4.3-2~17 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d6135f2081d04b5e592bc2f70ad8d7b50f87b01e;p=tests.git tweaks for princeton setup (esp. disable PLC_MAIL) --- diff --git a/system/config_pdefault.py b/system/config_pdefault.py index 3873ffe..b85df36 100644 --- a/system/config_pdefault.py +++ b/system/config_pdefault.py @@ -13,6 +13,14 @@ def config (plc_specs, options): for plc in plcs: TestPlc.TestPlc.display_mapping_plc(plc) print '========================================' + ### side-effects on global config (was for onelab.eu initially) + from TestMapper import TestMapper + main_mapper = TestMapper (plcs,options) + plc_map = [ ( '*', {'PLC_ROOT_USER' : 'root@test.planet-lab.org', + 'PLC_MAIL_ENABLED' : 'false', + }) ] + plcs = main_mapper.map ( { 'plc' : plc_map } ) + import config_ptestqemus plcs = config_ptestqemus.config (plcs,options) if options.verbose: