Compare commits

...

7 Commits

Author SHA1 Message Date
tteckster 7305fa4f0a
code refactoring 2023-03-08 15:37:32 -05:00
tteckster 6d2a8a2ec4
Update docker-v5-install.sh
code refactoring
2023-03-08 15:23:14 -05:00
tteckster 12d5a78a30
match input if it's "y" or "yes" (case-insensitive) 2023-03-08 15:03:22 -05:00
tteckster 259ba993a2
Update post-pve-install.sh
tweak
2023-03-08 14:55:40 -05:00
tteckster 1f9b959a47
modified the code for setting the time zone 2023-03-08 05:28:15 -05:00
tteckster ad1d630302
fix tz unbound varible 2023-03-07 15:14:31 -05:00
tteckster 0e10ca6823
Update CHANGELOG.MD 2023-03-07 12:17:34 -05:00
176 changed files with 374 additions and 336 deletions

View File

@ -8,6 +8,8 @@ All notable changes to this project will be documented in this file.
- **Alpine-Vaultwarden LXC**
- NEW Script
- **All LXC Scripts**
- Retrieve the time zone from Proxmox and configure the container to use the same time zone
## 2023-02-24

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")
@ -368,6 +368,7 @@ FEATURES="keyctl=1,nesting=1"
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export tz=$timezone
export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")
@ -362,6 +362,7 @@ FEATURES="keyctl=1,nesting=1"
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export tz=$timezone
export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")
@ -433,6 +433,7 @@ FEATURES="keyctl=1,nesting=1"
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export tz=$timezone
export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")
@ -367,6 +367,7 @@ FEATURES="keyctl=1,nesting=1"
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export tz=$timezone
export ST=$FUSE
export DISABLEIPV6=$DISABLEIP6
export APPLICATION=$APP

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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
@ -68,7 +69,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -74,7 +74,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -67,7 +68,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -67,7 +68,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -67,7 +68,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -68,7 +69,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -67,7 +68,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -67,7 +68,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -68,7 +69,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -68,7 +69,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -67,7 +68,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

View File

@ -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
@ -68,7 +69,7 @@ trap - ERR
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
msg_error "Internet NOT Connected"
read -r -p "Would you like to continue anyway? <y/N> " prompt
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
else
echo -e " 🖧 Check Network Settings"

Some files were not shown because too many files have changed in this diff Show More