go to the right dir
[infrastructure.git] / omf / export-omf.sh
1 #!/bin/bash
2 # to be run on www.planet-lab.eu where the CERTH key was imported
3
4 DIRNAME=$(dirname $0)
5
6 cd $DIRNAME
7
8 # refresh EXPORT and EXPORT.snip with the python script
9
10 plcsh ./export-omf.py -- -n EXPORT.snip
11 plcsh ./export-omf.py -- EXPORT
12
13 yes | gpg -r CERTH -e < EXPORT.snip > EXPORT.snip.nitlab
14 yes | gpg -r CERTH -e < EXPORT > EXPORT.nitlab