diff --git a/subiquity/models/locale.py b/subiquity/models/locale.py index 53ad68fe..cfa60af6 100644 --- a/subiquity/models/locale.py +++ b/subiquity/models/locale.py @@ -36,6 +36,8 @@ class LocaleModel: def make_cloudconfig(self): if not self.selected_language: return {} + if self.locale_support == "none": + return {} locale = self.selected_language if '.' not in locale and '_' in locale: locale += '.UTF-8'