cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [3/3] git commit: config: remove user block, introduce server profiles
Date Fri, 15 Aug 2014 21:56:54 GMT
config: remove user block, introduce server profiles

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/commit/0b8e537e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/0b8e537e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/0b8e537e

Branch: refs/heads/master
Commit: 0b8e537e6723cd9922624968298a2c0688f1cfe6
Parents: 7953e71
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Fri Aug 15 23:56:25 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Fri Aug 15 23:56:25 2014 +0200

----------------------------------------------------------------------
 cloudmonkey/config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/0b8e537e/cloudmonkey/config.py
----------------------------------------------------------------------
diff --git a/cloudmonkey/config.py b/cloudmonkey/config.py
index 56ef0e3..601941d 100644
--- a/cloudmonkey/config.py
+++ b/cloudmonkey/config.py
@@ -42,7 +42,7 @@ config_dir = expanduser('~/.cloudmonkey')
 config_file = expanduser(config_dir + '/config')
 
 # cloudmonkey config fields
-config_fields = {'core': {}, 'server': {}, 'user': {}, 'ui': {}}
+config_fields = {'core': {}, 'ui': {}, 'server': {}}
 
 # core
 config_fields['core']['asyncblock'] = 'true'
@@ -50,6 +50,7 @@ config_fields['core']['paramcompletion'] = 'false'
 config_fields['core']['cache_file'] = expanduser(config_dir + '/cache')
 config_fields['core']['history_file'] = expanduser(config_dir + '/history')
 config_fields['core']['log_file'] = expanduser(config_dir + '/log')
+config_fields['core']['profile'] = 'server' # default server profile
 
 # ui
 config_fields['ui']['color'] = 'true'


Mime
View raw message