From: Thierry Parmentelat Date: Tue, 23 Jun 2015 08:14:21 +0000 (+0200) Subject: add /etc/planetlab/nodefamily stamp in nodeimage X-Git-Tag: nodeimage-5.2-5~3 X-Git-Url: http://git.onelab.eu/?p=nodeimage.git;a=commitdiff_plain;h=6e7873e53ae41265fdec9b4aa22228b3b5ff7e43 add /etc/planetlab/nodefamily stamp in nodeimage --- 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