git://git.onelab.eu
/
nodeimage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0cee206
)
add /etc/planetlab/nodefamily stamp in nodeimage
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 23 Jun 2015 08:14:21 +0000
(10:14 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 23 Jun 2015 08:14:21 +0000
(10:14 +0200)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index
a0a9012
..
371faa8
100755
(executable)
--- 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