diff options
author | makefu <github@syntax-fehler.de> | 2022-06-06 21:35:21 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-06-06 21:35:21 +0200 |
commit | cb31764b6d121605d482244f4e17bc3c36e50634 (patch) | |
tree | d4f174b7dbce1e49724d459678f75eb85175fe8d /krebs/3modules | |
parent | ffdb73bed516bda154bb1c460a5e91eaaa6093da (diff) |
ma retioum: remove wrapper script
Diffstat (limited to 'krebs/3modules')
-rwxr-xr-x | krebs/3modules/makefu/retiolum/doit.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/krebs/3modules/makefu/retiolum/doit.sh b/krebs/3modules/makefu/retiolum/doit.sh deleted file mode 100755 index 1a2657599..000000000 --- a/krebs/3modules/makefu/retiolum/doit.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - - -for i in *.pub;do - sleep 1 - host=${i%%.pub} - if test -e "${host}_ed25519.pub" ;then - echo "ed25519 key already exits" - else - tmpdir=$(mktemp --tmpdir -d create-retiolum-ed25519-keys.XXXXXXXX) - trap 'rm -vR "$tmpdir"' EXIT - tinc --batch --config "$tmpdir" generate-ed25519-keys - - cp -v "$tmpdir/ed25519_key.pub" "${host}_ed25519.pub" - cat "$tmpdir/ed25519_key.priv" | secrets insert -m "$host/retiolum.ed25519_key.priv" - rm -vR "$tmpdir" - fi - -done |