Merge ~raharper/cloud-init:pregen-locale into cloud-init:master
Proposed by
Ryan Harper
Status: | Rejected |
---|---|
Rejected by: | Scott Moser |
Proposed branch: | ~raharper/cloud-init:pregen-locale |
Merge into: | cloud-init:master |
Diff against target: |
71 lines (+42/-2) 1 file modified
cloudinit/distros/debian.py (+42/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Needs Fixing | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+325406@code.launchpad.net |
Description of the change
Check before attempting to regenerate locales
Avoid unnecessary IO incurred when generating locales by
testing if the system has already configured a LANG setting.
If a user supplied locale or the default locale defined in
in cloud-init differs from what is presently configured
then cloud-init will regenerate locales based on the supplied
value.
To post a comment you must log in.
PASSED: Continuous integration, rev:0f9ec262587 43218a74e453ec5 052de45015b0f8 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 503/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/503 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/503 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 503 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/503 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/503
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 503/rebuild
https:/