From 1df8a90b58c73356b24db58e7ad958b9e299990b Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Wed, 12 Dec 2007 21:04:16 +0000 Subject: [PATCH] moved site admin down so as not to get in the vref. Also disabled 000-delay.cron. --- build.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 29bdff0..05508d2 100755 --- 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} . -- 2.43.0