Revision 144b3551 kamaki/cli/commands/cyclades.py
b/kamaki/cli/commands/cyclades.py | ||
---|---|---|
53 | 53 |
|
54 | 54 |
about_authentication = '\nUser Authentication:\ |
55 | 55 |
\n* to check authentication: /user authenticate\ |
56 |
\n* to set authentication token: /config set remote.default.token <token>'
|
|
56 |
\n* to set authentication token: /config set cloud.default.token <token>'
|
|
57 | 57 |
|
58 | 58 |
howto_personality = [ |
59 | 59 |
'Defines a file to be injected to VMs personality.', |
... | ... | |
75 | 75 |
if base_url: |
76 | 76 |
token = self._custom_token(service)\ |
77 | 77 |
or self._custom_token('cyclades')\ |
78 |
or self.config.get_remote('token')
|
|
78 |
or self.config.get_cloud('token')
|
|
79 | 79 |
self.client = CycladesClient( |
80 | 80 |
base_url=base_url, token=token) |
81 | 81 |
return |
Also available in: Unified diff