diff --git a/firstboot/firstboot-qubes-text b/firstboot/firstboot-qubes-text index a937c19..c885542 100644 --- a/firstboot/firstboot-qubes-text +++ b/firstboot/firstboot-qubes-text @@ -79,6 +79,7 @@ if [ "$vms_service" == "yes" ]; then for template in `ls /var/lib/qubes/vm-templates`; do /bin/mount -oloop "/var/lib/qubes/vm-templates/$template/root.img" /mnt/template-root cp /etc/localtime /mnt/template-root/etc + cp /etc/locale.conf /mnt/template-root/etc cp /etc/ntp.conf /mnt/template-root/etc umount /mnt/template-root done diff --git a/firstboot/modules/qubes_setup.py b/firstboot/modules/qubes_setup.py index f9fe803..2c950bb 100644 --- a/firstboot/modules/qubes_setup.py +++ b/firstboot/modules/qubes_setup.py @@ -216,6 +216,7 @@ class moduleClass(Module): '/mnt/template-root']) # Copy timezone setting from Dom0 to template subprocess.check_call(['cp', '/etc/localtime', '/mnt/template-root/etc']) + subprocess.check_call(['cp', '/etc/locale.conf', '/mnt/template-root/etc']) subprocess.check_call(['cp', '/etc/ntp.conf', '/mnt/template-root/etc']) subprocess.check_call(['/bin/umount', '/mnt/template-root']) subprocess.check_call(['/bin/rmdir', '/mnt/template-root'])