add restic compute-2-mep

This commit is contained in:
Maël Gramain 2024-10-22 21:38:09 +02:00
commit 0f829bef1d
3 changed files with 54 additions and 0 deletions
compute-2-mep/restic

View file

@ -0,0 +1,5 @@
mkdir -p ssh
rm -rf .ssh/*
echo -n '[[RESTIC_PRIVKEY]]' | base64 --decode > ./ssh/id_ed25519
echo -n '[[RESTIC_PUBKEY]]' | base64 --decode > ./ssh/id_ed25519.pub
echo -n '[[RESTIC_KNOWN_HOSTS]]' | base64 --decode > ./ssh/known_hosts