From cda9ee4297e4e33c12e2ebf8f54c72f77e05bcca Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 16 Jul 2009 07:01:42 +0000 Subject: [PATCH] bootstrapfs install now comes without a yum config --- config.planetlab/bootstrapfs.post | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/config.planetlab/bootstrapfs.post b/config.planetlab/bootstrapfs.post index dd6b93e4..24132515 100644 --- a/config.planetlab/bootstrapfs.post +++ b/config.planetlab/bootstrapfs.post @@ -7,6 +7,9 @@ if [ -z "${vdir}" ] ; then exit fi +# Cleanup yum config entirely, waiting for the config files to populate this +rm -rf ${vdir}/etc/yum.conf ${vdir}/etc/yum.repos.d + # NOTE: we're enabling util-vserver to allow it to help shutdown all slices # before rebooting. This has been problematic in the past. # Thierry : I'm enabling network since, for some reason, it ends up turned off on fedora9 @@ -25,29 +28,6 @@ echo > ${vdir}/etc/sysconfig/crontab # Add site_admin account chroot ${vdir} /usr/sbin/useradd -p "" -u 502 -m site_admin -# NOTE: Removed due to incompatibility between fedora and centos, and b/c we -# expect that enabling util-vserver above will help with shutdown. -# -# : this is added to ensure that processes running within the slices that -# may have special permissions and other parts of the filesystem engated are -# killed before shutdown. We experienced hangs when rebooting without this -# step. -#( cat <