diff --git a/opennebula-images/debian-build-opennebula-image.sh b/opennebula-images/debian-build-opennebula-image.sh index 17dc1e3..9a51f1e 100755 --- a/opennebula-images/debian-build-opennebula-image.sh +++ b/opennebula-images/debian-build-opennebula-image.sh @@ -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")