Commit 41f22e0
committed
base_image: fix locale warnings in custom images
Fix "cannot change locale" warnings during SSH connections by properly
configuring locales in the virt-builder template:
- Add locales-all package to main install command for comprehensive
locale support
- Change locale generation from firstboot-command to run-command to
execute during image build instead of first boot
- Remove problematic dpkg-reconfigure command that was failing in
non-interactive environment
This ensures en_US.UTF-8 locale is properly configured and available
when guests boot, eliminating locale warnings during SSH sessions.
Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>1 parent a0f7b52 commit 41f22e0
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 66 | + | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
0 commit comments