From 485e7d1e302e3dfde2017f175883c2c43af02c2b Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 20 Nov 2012 19:52:21 +0100 Subject: [PATCH] setup default console encoding to UTF-8 --- qubeize_image | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qubeize_image b/qubeize_image index 71adf96..e7fcc9f 100755 --- a/qubeize_image +++ b/qubeize_image @@ -81,6 +81,11 @@ echo "--> Linking /usr/local to /rw/usrlocal..." mv mnt/usr/local mnt/usr/local.orig ln -sf /rw/usrlocal mnt/usr/local +if ! [ -r mnt/etc/sysconfig/i18n ]; then + echo "--> Setting up default locale..." + echo LC_CTYPE=en_US.UTF-8 > mnt/etc/sysconfig/i18n +fi + echo "--> Unmounting $IMG" umount mnt/proc mnt