Merge ~smoser/cloud-init:fix/1134036-locale-message-change into cloud-init:master
Status: | Rejected |
---|---|
Rejected by: | Scott Moser |
Proposed branch: | ~smoser/cloud-init:fix/1134036-locale-message-change |
Merge into: | cloud-init:master |
Diff against target: |
92 lines (+19/-32) 1 file modified
tools/Z99-cloud-locale-test.sh (+19/-32) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek (community) | Needs Fixing | ||
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+348065@code.launchpad.net |
Commit message
Z99-cloud-
Two basic changes here to the behavior of Z99-cloud-
when a locale found in LC_* settings is not present on the system:
a.) shorten the message.
b.) change the locale to C.UTF-8.
LP: #1134036
Description of the change
This can be tested with:
$ rm -f ~/.cloud-
$ LC_ALL=fr_FR.UTF-8 sh ./tools/
The message shown at this point is:
| Your provided locale (LC_ALL=
| changed to C.UTF-8 (LC_ALL=C.UTF-8). To install native locales:
| sudo apt-get install locales language-pack-fr
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:4d94c6f9cb1 a24499763439954 7137d5cd868d2c /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 92/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 92/rebuild
https:/