#!/bin/bash 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 dpkg-reconfigure -f noninteractive tzdata