vn-ansible/roles/debian-base/files/set-timezone.sh

9 lines
296 B
Bash
Raw Normal View History

2023-10-27 12:35:12 +00:00
#!/bin/bash
2023-10-30 10:13:42 +00:00
echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections
echo 'tzdata tzdata/Zones/Europe select Madrid' | debconf-set-selections
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections
rm /etc/timezone
rm /etc/localtime
2024-09-23 12:30:38 +00:00
dpkg-reconfigure -f noninteractive tzdata