From 6f2ea4de58517816178930f4899768ecd356b957 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 14 Jun 2010 17:27:41 +0200 Subject: [PATCH] first draft --- omf/.gitignore | 1 + {scripts => omf}/export-omf.py | 0 omf/export-omf.sh | 12 ++++++++++++ 3 files changed, 13 insertions(+) create mode 100644 omf/.gitignore rename {scripts => omf}/export-omf.py (100%) create mode 100755 omf/export-omf.sh 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 -- 2.43.0