From: Thierry Parmentelat Date: Mon, 31 Mar 2008 09:28:50 +0000 (+0000) Subject: make sure the vservers run in the same timezone as the host X-Git-Tag: 4.2-rc2~80 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=92a4e8b7790d6382138328ec149613e35e46cfee;p=build.git make sure the vservers run in the same timezone as the host --- diff --git a/vbuild-init-vserver.sh b/vbuild-init-vserver.sh index 24d3bec0..04cc3d4b 100755 --- a/vbuild-init-vserver.sh +++ b/vbuild-init-vserver.sh @@ -216,6 +216,9 @@ function post_install () { else post_install_myplc "$@" fi + # setup localtime from the host + vserver=$1; shift + cp /etc/localtime /vserver/$vserver/etc/localtime } function post_install_vbuild () {