#!/bin/bash set -eux ## TimezoneTZ=${TZ:-"Europe/Paris"} #### set system time-zone## printf "%s\n" "$TZ" > /etc/timezonedpkg-reconfigure --frontend noninteractive tzdata
#!/bin/bash
set -eux
## Timezone
TZ=${TZ:-"Europe/Paris"}
##
## set system time-zone
printf "%s\n" "$TZ" > /etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata