mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-22 23:08:36 +00:00
Update hetzner-ubuntu18-zfs-setup.sh
This commit is contained in:
@@ -618,7 +618,7 @@ CONF
|
|||||||
chroot_execute "apt update"
|
chroot_execute "apt update"
|
||||||
|
|
||||||
echo "======= setting locale, console and language =========="
|
echo "======= setting locale, console and language =========="
|
||||||
chroot_execute "apt install --yes -qq locales debconf-i18n apt-utils"
|
chroot_execute "apt install --yes -qq locales debconf-i18n apt-utils keyboard-configuration console-setup"
|
||||||
sed -i 's/# en_US.UTF-8/en_US.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
|
sed -i 's/# en_US.UTF-8/en_US.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
|
||||||
sed -i 's/# fr_FR.UTF-8/fr_FR.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
|
sed -i 's/# fr_FR.UTF-8/fr_FR.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
|
||||||
sed -i 's/# fr_FR.UTF-8/fr_FR.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
|
sed -i 's/# fr_FR.UTF-8/fr_FR.UTF-8/' "$c_zfs_mount_dir/etc/locale.gen"
|
||||||
@@ -660,7 +660,6 @@ CONF'
|
|||||||
|
|
||||||
chroot_execute "dpkg-reconfigure locales -f noninteractive"
|
chroot_execute "dpkg-reconfigure locales -f noninteractive"
|
||||||
echo -e "LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8\n" >> "$c_zfs_mount_dir/etc/environment"
|
echo -e "LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8\n" >> "$c_zfs_mount_dir/etc/environment"
|
||||||
chroot_execute "apt install -qq --yes keyboard-configuration console-setup"
|
|
||||||
chroot_execute "dpkg-reconfigure keyboard-configuration -f noninteractive"
|
chroot_execute "dpkg-reconfigure keyboard-configuration -f noninteractive"
|
||||||
chroot_execute "dpkg-reconfigure console-setup -f noninteractive"
|
chroot_execute "dpkg-reconfigure console-setup -f noninteractive"
|
||||||
chroot_execute "setupcon"
|
chroot_execute "setupcon"
|
||||||
|
|||||||
Reference in New Issue
Block a user