moved site admin down so as not to get in the vref. Also disabled 000-delay.cron.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 12 Dec 2007 21:04:16 +0000 (21:04 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 12 Dec 2007 21:04:16 +0000 (21:04 +0000)
build.sh

index 29bdff0..05508d2 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -86,9 +86,6 @@ for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
     for service in util-vserver vprocunhide vservers-default; do
         chroot ${vdir} /sbin/chkconfig $service off
     done
-    
-    # Add site_admin account
-    chroot ${vdir} /usr/sbin/useradd -p "" -u 502 -m site_admin
 
     # Create a copy of the ${NAME} bootstrap filesystem w/o the base
     # bootstrap filesystem and make it smaller.  This is a three step
@@ -117,6 +114,13 @@ for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
     rm -rf ${vdir}
     rm -f  ${vdir}.changes
     mv ${vdir}-tmp ${vdir}
+    
+    # Add site_admin account
+    chroot ${vdir} /usr/sbin/useradd -p "" -u 502 -m site_admin
+
+       # Disable /etc/cron.*/000-delay.cron.  Used to splay crons.  PL crons
+       # already do this.
+       echo > ${vdir}/etc/sysconfig/crontab
 
     echo "--------STARTING tar'ing PlanetLab-Bootstrap-${NAME}.tar.bz2: $(date)"
     tar -cpjf ${pldistro}-filesystems/PlanetLab-Bootstrap-${NAME}.tar.bz2 -C ${vdir} .