Commit 5fcc3ce
committed
devconfig: fix locale configuration on existing VMs
Add locale configuration tasks to firstconfig to ensure existing VMs
have correct locales, complementing the base image template fixes.
This ensures en_US.UTF-8 locale is properly configured on:
- New VMs: fixed during image creation (virt-builder template)
- Existing VMs: fixed during firstconfig (this commit)
Changes:
- Install locales-all package if missing
- Configure /etc/default/locale and /etc/locale.gen files
- Generate and update locales with locale-gen and update-locale
Runs early with firstconfig tag for immediate fix during VM setup.
Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>1 parent 98c0dac commit 5fcc3ce
1 file changed
+42
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
32 | 74 | | |
33 | 75 | | |
34 | 76 | | |
| |||
0 commit comments