diff options
Diffstat (limited to 'scripts/lib/wic/conf.py')
-rw-r--r-- | scripts/lib/wic/conf.py | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/scripts/lib/wic/conf.py b/scripts/lib/wic/conf.py index ff6e2ca0f0..cecf396819 100644 --- a/scripts/lib/wic/conf.py +++ b/scripts/lib/wic/conf.py | |||
@@ -30,20 +30,18 @@ def get_siteconf(): | |||
30 | return scripts_path + "/lib/image/config/wic.conf" | 30 | return scripts_path + "/lib/image/config/wic.conf" |
31 | 31 | ||
32 | class ConfigMgr(object): | 32 | class ConfigMgr(object): |
33 | DEFAULTS = {'common': { | 33 | DEFAULTS = { |
34 | "distro_name": "Default Distribution", | 34 | 'common': { |
35 | "plugin_dir": "/usr/lib/wic/plugins", # TODO use prefix also? | 35 | "distro_name": "Default Distribution", |
36 | }, | 36 | "plugin_dir": "/usr/lib/wic/plugins"}, # TODO use prefix also? |
37 | 'create': { | 37 | 'create': { |
38 | "tmpdir": '/var/tmp/wic', | 38 | "tmpdir": '/var/tmp/wic', |
39 | "outdir": './wic-output', | 39 | "outdir": './wic-output', |
40 | 40 | "release": None, | |
41 | "release": None, | 41 | "logfile": None, |
42 | "logfile": None, | 42 | "name_prefix": None, |
43 | "name_prefix": None, | 43 | "name_suffix": None} |
44 | "name_suffix": None, | 44 | } |
45 | }, | ||
46 | } | ||
47 | 45 | ||
48 | # make the manager class as singleton | 46 | # make the manager class as singleton |
49 | _instance = None | 47 | _instance = None |