Revision 144b3551 kamaki/cli/errors.py
b/kamaki/cli/errors.py | ||
---|---|---|
78 | 78 |
'Two options to resolve this:', |
79 | 79 |
'A. (recommended) Let kamaki discover the endpoint URLs for all', |
80 | 80 |
'services by setting a single Authentication URL and token:', |
81 |
' /config set remote.default.url <AUTH_URL>',
|
|
82 |
' /config set remote.default.token <t0k3n>',
|
|
81 |
' /config set cloud.default.url <AUTH_URL>',
|
|
82 |
' /config set cloud.default.token <t0k3n>',
|
|
83 | 83 |
'B. (advanced users) Explicitly set a valid %s endpoint URL' % ( |
84 | 84 |
service.upper()), |
85 | 85 |
'Note: url option has a higher priority, so delete it to', |
86 | 86 |
'make that work', |
87 |
' /config delete remote.default.url',
|
|
88 |
' /config set remote.%s.url <%s_URL>' % (
|
|
87 |
' /config delete cloud.default.url',
|
|
88 |
' /config set cloud.%s.url <%s_URL>' % (
|
|
89 | 89 |
service, service.upper())] |
90 | 90 |
super(CLIBaseUrlError, self).__init__(message, details, importance) |
91 | 91 |
|
Also available in: Unified diff