Override the hostname provided by the DHCP server (Closes: #7769).
[tails-test.git] / config / chroot_local-hooks / 99-etc-default-locale
blob465e0ce0a576f2e74278fa0f1eee02f02b193919
1 #!/bin/sh
3 set -e
5 echo "Creating /etc/default/locale"
7 # /etc/default/locale is not a conffile. It is unowned, but primarily managed
8 # by the "locales" package's maintainer scripts. We purge that package
9 # in 98-remove_unwanted_packages (because we use locales-all instead),
10 # thus /etc/default/locale is removed. Various scripts of ours depend on this
11 # file to exist and contain a valid $LANG value.
13 # Tails Greeter's PostLogin script will later change this value according to
14 # the user's choice.
16 echo 'LANG=en_US.UTF-8' > /etc/default/locale