From 9bf7b9bda58cc3bae475727c66d462e7bf4e5f91 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 16 Aug 2023 10:02:47 -0400 Subject: [PATCH] set the timezone earlier in setup --- setup/so-setup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 6bca72ab7..52da8dcb2 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -58,6 +58,7 @@ while [[ $# -gt 0 ]]; do esac done +set_timezone # Preserve old setup/error logs [ -f "$error_log" ] && mv "$error_log" "$error_log.$(date +%Y-%m-%dT%H:%M:%S)" [ -f "$setup_log" ] && mv "$setup_log" "$setup_log.$(date +%Y-%m-%dT%H:%M:%S)" @@ -576,7 +577,6 @@ if ! [[ -f $install_opt_file ]]; then fi if [[ $waitforstate ]]; then - set_timezone touch /root/accept_changes make_some_dirs percentage=0 @@ -726,7 +726,6 @@ if ! [[ -f $install_opt_file ]]; then systemctl restart salt-minion verify_setup else - set_timezone touch /root/accept_changes mkdir -p /opt/so es_heapsize