From: Faiyaz Ahmed Date: Wed, 12 Dec 2007 21:04:16 +0000 (+0000) Subject: moved site admin down so as not to get in the vref. Also disabled 000-delay.cron. X-Git-Tag: bootstrapfs-0.1-1~9 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=1df8a90b58c73356b24db58e7ad958b9e299990b moved site admin down so as not to get in the vref. Also disabled 000-delay.cron. --- 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} .