From 09195f6be07e28745716f86304fe61b0982f5581 Mon Sep 17 00:00:00 2001 From: fu-shanqing Date: Fri, 23 Sep 2022 16:35:11 +0800 Subject: [PATCH] Time synchronization between container and system --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 4f966409..028d1183 100755 --- a/build.sh +++ b/build.sh @@ -104,6 +104,9 @@ make_and_makeinstall() { } configure_user(){ + # modify Time Zone + rm -f /etc/localtime + cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime # /dev/kvm might be bound in, but will have the gid from the host, and not all distros # a+rw permissions on /dev/kvm. create groups for all the common kvm gids and then add # builder to them. -- Gitee