From: Thierry Parmentelat Date: Mon, 14 Jun 2010 15:27:41 +0000 (+0200) Subject: first draft X-Git-Tag: foo~117 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6f2ea4de58517816178930f4899768ecd356b957;p=infrastructure.git first draft --- diff --git a/omf/.gitignore b/omf/.gitignore new file mode 100644 index 0000000..eace2aa --- /dev/null +++ b/omf/.gitignore @@ -0,0 +1 @@ +EXPORT* diff --git a/scripts/export-omf.py b/omf/export-omf.py similarity index 100% rename from scripts/export-omf.py rename to omf/export-omf.py diff --git a/omf/export-omf.sh b/omf/export-omf.sh new file mode 100755 index 0000000..a33eb01 --- /dev/null +++ b/omf/export-omf.sh @@ -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