Fix locale issue in debian image

This commit is contained in:
fnux 2020-05-13 14:25:17 +02:00
parent 5af488b9d6
commit 0e7aa75959
1 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,10 @@ run_root apt-get -y install openssh-server
run_root apt-get -y install haveged
run_root systemctl enable haveged.service
# Generate locales.
run_root sed -i 's/^# *\(en_GB.UTF-8\)/\1/' /etc/locale.gen
run_root locale-gen
# Generate fstab file.
boot_uuid=$(blkid --match-tag UUID --output value "${NBD_DEVICE}p1")
root_uuid=$(blkid --match-tag UUID --output value "${NBD_DEVICE}p2")