Fix locale issue in debian image
This commit is contained in:
parent
5af488b9d6
commit
0e7aa75959
1 changed files with 4 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue