modified the code for setting the time zone
This commit is contained in:
parent
ad1d630302
commit
1f9b959a47
169 changed files with 251 additions and 169 deletions
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="alpine"
|
|||
var_version="3.17"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="alpine"
|
|||
var_version="3.17"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="archlinux"
|
|||
var_version="base"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="ubuntu"
|
|||
var_version="20.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="devuan"
|
|||
var_version="4.0"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="ubuntu"
|
|||
var_version="20.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -26,7 +26,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="ubuntu"
|
|||
var_version="20.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -26,7 +26,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="ubuntu"
|
|||
var_version="20.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="ubuntu"
|
|||
var_version="20.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -31,7 +31,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="rockylinux"
|
|||
var_version="9"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -26,7 +26,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="ubuntu"
|
|||
var_version="22.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="ubuntu"
|
|||
var_version="22.04"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -28,7 +28,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -27,7 +27,7 @@ var_os="debian"
|
|||
var_version="11"
|
||||
NSAPP=$(echo ${APP,,} | tr -d ' ')
|
||||
var_install="${NSAPP}-v5-install"
|
||||
timezone=$(timedatectl | grep "Time zone" | awk '{print $3}')
|
||||
timezone=$(cat /etc/timezone)
|
||||
INTEGER='^[0-9]+$'
|
||||
YW=$(echo "\033[33m")
|
||||
BL=$(echo "\033[36m")
|
||||
|
|
|
@ -47,7 +47,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -47,7 +47,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -47,7 +47,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -47,7 +47,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -47,7 +47,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -46,7 +46,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS"
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
|
@ -47,7 +47,8 @@ function msg_error() {
|
|||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue