X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=371faa89c1b9ac83b6b97a192b64b28db3f464fe;hb=cded641fdc24e996c57c5cb2792f20bcfc3b20a3;hp=a0a9012ed9a12c820078950552a0dc0e3dcf1ce8;hpb=5517375769d6033f42db1910b40dcd4700fd9db1;p=nodeimage.git 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