Add deployment mechanism for hotfixes to nodes in chosen nodegroups.
[nodeconfig.git] / PlanetLabConf / hotfixes / build.sh
1 #!/bin/bash
2
3 # Look for all directories in the PlanetLabConf/hotfixes directory and 
4 # create tar files for hotfixes on nodegroups with the same name.
5
6 for dir in `find . -maxdepth 1 -type d  | grep -vE "^.$"` ; do 
7     b=$dir.tar
8     d=$dir
9     tar -C $d --create --file $b .
10 done