Sign packages and create repo when done.
[build.git] / vbuild-init-vserver.sh
index 04cc3d4..7fe90fd 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 # -*-shell-*-
+# $Id$
 
 COMMAND=$(basename $0)
 DIRNAME=$(dirname $0)
@@ -218,7 +219,7 @@ function post_install () {
     fi
     # setup localtime from the host
     vserver=$1; shift 
-    cp /etc/localtime /vserver/$vserver/etc/localtime
+    cp /etc/localtime /vservers/$vserver/etc/localtime
 }
 
 function post_install_vbuild () {
@@ -295,6 +296,9 @@ function post_install_myplc  () {
     # create symlink for /dev/fd
     [ ! -e "/dev/fd" ] && ln -s /proc/self/fd /dev/fd
 
+    # turn off regular crond, as plc invokes plc_crond
+    chkconfig crond off
+
     # customize root's prompt
     cat << PROFILE > /root/.profile
 export PS1="[$vserver] \\w # "