From 92a4e8b7790d6382138328ec149613e35e46cfee Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Mon, 31 Mar 2008 09:28:50 +0000
Subject: [PATCH] make sure the vservers run in the same timezone as the host

---
 vbuild-init-vserver.sh | 3 +++
 1 file changed, 3 insertions(+)

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 () {
-- 
2.47.0