make sure the vservers run in the same timezone as the host
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 31 Mar 2008 09:28:50 +0000 (09:28 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 31 Mar 2008 09:28:50 +0000 (09:28 +0000)
vbuild-init-vserver.sh

index 24d3bec..04cc3d4 100755 (executable)
@@ -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 () {