vn-ansible/roles/config-tzdata/files/set_timezone.sh

4 lines
139 B
Bash

#!/bin/bash
echo "Europe" > /etc/timezone
ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
dpkg-reconfigure -f noninteractive tzdata