Revision 44101d8a
b/kamaki/cli/__init__.py | ||
---|---|---|
255 | 255 |
cloud = _cnf.value.keys('cloud')[0] |
256 | 256 |
else: |
257 | 257 |
raise CLIError( |
258 |
'Found %s clouds but none of them is set as default', |
|
258 |
'Found %s clouds but none of them is set as default' % ( |
|
259 |
num_of_clouds), |
|
259 | 260 |
importance=2, details=[ |
260 | 261 |
'Please, choose one of the following cloud names:', |
261 | 262 |
', '.join(_cnf.value.keys('cloud')), |
263 |
'To see all cloud settings:', |
|
264 |
' kamaki config get cloud.<cloud name>', |
|
262 | 265 |
'To set a default cloud:', |
263 | 266 |
' kamaki config set default_cloud <cloud name>', |
264 | 267 |
'To pick a cloud for the current session, use --cloud:', |
... | ... | |
282 | 285 |
'No authentication %s provided for cloud "%s"' % (term, cloud), |
283 | 286 |
importance=3, details=[ |
284 | 287 |
'Set a %s for cloud %s:' % (term, cloud), |
285 |
' kamaki config set cloud.%s.%s <t0k3n>' % (cloud, term)]) |
|
288 |
' kamaki config set cloud.%s.%s <%s>' % ( |
|
289 |
cloud, term, term)]) |
|
286 | 290 |
|
287 | 291 |
from kamaki.clients.astakos import AstakosClient as AuthCachedClient |
288 | 292 |
try: |
Also available in: Unified diff