add restic compute-2-mep
This commit is contained in:
parent
7e5768b449
commit
0f829bef1d
3 changed files with 54 additions and 0 deletions
compute-2-mep/restic
5
compute-2-mep/restic/pre_deploy.sh
Normal file
5
compute-2-mep/restic/pre_deploy.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue