base: change timezone
This commit is contained in:
parent
977b237195
commit
e10c7d2022
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,8 @@ set -euo pipefail;
|
|||
|
||||
source "$HL_LIB";
|
||||
|
||||
_assert_vars HL_TIMEZONE;
|
||||
|
||||
# update and install dependencies
|
||||
_ch_001-install() {
|
||||
sudo apt-get update;
|
||||
|
@ -31,4 +33,8 @@ _ch_004-firewall() {
|
|||
sudo ufw allow 22;
|
||||
}
|
||||
|
||||
_ch_005-set_timezone() {
|
||||
sudo timedatectl set-timezone "$HL_TIMEZONE";
|
||||
}
|
||||
|
||||
_run_checkpoints;
|
||||
|
|
Loading…
Reference in a new issue