ask cloud-init to configure the locale of the installed system

This commit is contained in:
Michael Hudson-Doyle 2018-04-13 15:36:33 +12:00
parent 028914da97
commit d34504b45f
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ class SubiquityModel:
config = { config = {
'users': [user_info], 'users': [user_info],
'hostname': self.identity.hostname, 'hostname': self.identity.hostname,
'locale': self.locale.selected_language + '.UTF-8',
} }
config.update(self.installpath.render_cloudinit()) config.update(self.installpath.render_cloudinit())
return config return config