update disk unlock scripts
This commit is contained in:
1 parent
8869dd64fb
commit
8bc93b091d
3 files changed
+12
-2
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
KEYFILE="$HOME/Documents/sync/secrets/luks/syncpi-las1-bravo.luks.gpg"
|
||||
|
||||
if [[ ! -e "$KEYFILE" ]]; then
|
||||
echo "wrong box!" >> /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gpg -d "$KEYFILE" | ssh root@syncpi-las1-bravo.tor "bash /root/unlock_disks"
|
||||
Reference in new issue
Block a user