set time zone (#1131)
Retrieve the time zone from Proxmox and configure the container to use the same time zone
This commit is contained in:
@ -47,6 +47,7 @@ function msg_error() {
|
||||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
timedatectl set-timezone $tz
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
if [ "$(hostname -I)" != "" ]; then
|
||||
break
|
||||
|
Reference in New Issue
Block a user