base: change timezone

This commit is contained in:
bain 2022-12-31 14:35:19 +01:00
parent 977b237195
commit e10c7d2022

View file

@ -3,6 +3,8 @@ set -euo pipefail;
source "$HL_LIB"; source "$HL_LIB";
_assert_vars HL_TIMEZONE;
# update and install dependencies # update and install dependencies
_ch_001-install() { _ch_001-install() {
sudo apt-get update; sudo apt-get update;
@ -31,4 +33,8 @@ _ch_004-firewall() {
sudo ufw allow 22; sudo ufw allow 22;
} }
_ch_005-set_timezone() {
sudo timedatectl set-timezone "$HL_TIMEZONE";
}
_run_checkpoints; _run_checkpoints;