first draft
[infrastructure.git] / omf / export-omf.sh
diff --git a/omf/export-omf.sh b/omf/export-omf.sh
new file mode 100755 (executable)
index 0000000..a33eb01
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+# to be run on www.planet-lab.eu where the CERTH key was imported
+
+DIR=/root/thierry
+
+# refresh EXPORT and EXPORT.snip with the python script
+
+plcsh ./export-omf.py -- -n EXPORT.snip
+plcsh ./export-omf.py -- EXPORT
+
+yes | gpg -r CERTH -e < EXPORT.snip > EXPORT.snip.nitlab
+yes | gpg -r CERTH -e < EXPORT > EXPORT.nitlab