X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=blobdiff_plain;f=build.sh;fp=build.sh;h=371faa89c1b9ac83b6b97a192b64b28db3f464fe;hp=a0a9012ed9a12c820078950552a0dc0e3dcf1ce8;hb=6e7873e53ae41265fdec9b4aa22228b3b5ff7e43;hpb=0cee206e53593345d1161e99f653501c45df18c6 diff --git a/build.sh b/build.sh index a0a9012..371faa8 100755 --- a/build.sh +++ b/build.sh @@ -150,6 +150,9 @@ done # Build the base Bootstrap filesystem # clean out yum cache to reduce space requirements yum -c ${vref}/etc/mkfedora-yum.conf --installroot=${vref} -y clean all +# create stamp on node image to help out node upgrades in the future +mkdir -p ${vref}/etc/planetlab +echo ${nodefamily} > ${vref}/etc/planetlab/nodefamily bootstrapfs_plain=bootstrapfs-${nodefamily}.tar bootstrapfs_name=bootstrapfs-${nodefamily}.tar.bz2