From 2a0546b47164d70e54dd7bd63db532836e139176 Mon Sep 17 00:00:00 2001 From: kosenka Date: Fri, 4 Apr 2025 11:59:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 435315c..50057ac 100644 --- a/install.sh +++ b/install.sh @@ -59,8 +59,12 @@ apt install -y netplan.io isc-dhcp-client isc-dhcp-common mc net-tools iputils-p timedatectl set-timezone Europe/Moscow apt -y install ntp aptitude install console-cyrillic -dpkg-reconfigure locales -# select [392] ru_RU.UTF-8 UTF-8 +update-locale LANG=ru_RU.UTF-8 +sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen +sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen +dpkg-reconfigure --frontend=noninteractive locales +localectl set-locale LANG=ru_RU.UTF-8 +export LANG=ru_RU.UTF-8 rm /etc/netplan/50-cloud-init.yaml