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