equal
deleted
inserted
replaced
14 class WebCreateHandler(CommandHandler): |
14 class WebCreateHandler(CommandHandler): |
15 cmdname = 'create' |
15 cmdname = 'create' |
16 |
16 |
17 def bootstrap(self, cubes, inputlevel=0): |
17 def bootstrap(self, cubes, inputlevel=0): |
18 """bootstrap this configuration""" |
18 """bootstrap this configuration""" |
19 print '\n'+underline_title('Generic web configuration') |
19 print '\n' + underline_title('Generic web configuration') |
20 config = self.config |
20 config = self.config |
21 if config.repo_method == 'pyro': |
21 if config.repo_method == 'pyro': |
22 print '\n'+underline_title('Repository server configuration') |
22 print '\n' + underline_title('Pyro configuration') |
23 config.input_config('pyro-client', inputlevel) |
23 config.input_config('pyro', inputlevel) |
24 if ASK.confirm('Allow anonymous access ?', False): |
24 if ASK.confirm('Allow anonymous access ?', False): |
25 config.global_set_option('anonymous-user', 'anon') |
25 config.global_set_option('anonymous-user', 'anon') |
26 config.global_set_option('anonymous-password', 'anon') |
26 config.global_set_option('anonymous-password', 'anon') |
27 |
27 |
28 def postcreate(self): |
28 def postcreate(self): |