第12章 Changing the system locale with cloud-init
You can configure the system location with the locale module.
Prerequisites
-
Depending on the requirements of your datasource, edit the
meta-datafile. You can also add the following directive to thecloud.cfgfile or thecloud.cfg.ddirectory:
Procedure
-
Add the
localedirective, specifying the location. The following sample sets thelocaletoja_JP(Japan) withUTF-8encoding.
#cloud-config
locale: ja_JP.UTF-8