configure /etc/default/locale with the LANG value during image generation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned |
Bug Description
Cloud-images currently include en_US.UTF-8 locales already generated; This has been the default locale for cloud-images for sometime. Please emit the LANG="en_US.UTF-8" value into /etc/default/locale so locales are not regenerated.
The artful image current sets this file. Xenial and Zesty images contain en_US.UTF-8 locales but do not configure /etc/default/
% ls -al *server*
-rw-rw-r-- 1 rharper rharper 318898176 Oct 26 16:01 artful-
-rw-rw-r-- 1 rharper rharper 291831808 Oct 26 16:01 xenial-
-rw-rw-r-- 1 rharper rharper 349831168 Oct 26 16:01 zesty-server-
(foudres) tmp % for img in *server*.img; do sudo mount-image-
+ cat /etc/os-release
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.10"
VERSION_ID="17.10"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
+ cat /etc/cloud/
build_name: server
serial: 20171025
+ cat /etc/default/locale
LANG=C.UTF-8
+ locale -a
C
C.UTF-8
en_US.utf8
POSIX
+ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
VERSION_
UBUNTU_
+ cat /etc/cloud/
build_name: server
serial: 20171025
+ cat /etc/default/locale
# File generated by update-locale
+ locale -a
C
C.UTF-8
en_US.utf8
POSIX
+ cat /etc/os-release
NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.04"
VERSION_ID="17.04"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
+ cat /etc/cloud/
build_name: server
serial: 20171026
+ cat /etc/default/locale
# File generated by update-locale
+ locale -a
C
C.UTF-8
en_US.utf8
POSIX
tags: | added: id-5a4bb497dc03dd341ec829b1 |