Skip to content
Snippets Groups Projects
Commit 3973ec5a authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

snapshoter over ssh

parent d295bb3d
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,11 @@ ms() ...@@ -57,6 +57,11 @@ ms()
sshcmd="$(echo "$ms_ret" | head -n2 | tail -n1)" sshcmd="$(echo "$ms_ret" | head -n2 | tail -n1)"
usingSSH=true usingSSH=true
} }
ssh()
{
from="$1:$fromdir"
usingSSH=true
}
delete() delete()
{ {
......
...@@ -10,11 +10,11 @@ case "$device" in ...@@ -10,11 +10,11 @@ case "$device" in
exclude_aux=true exclude_aux=true
;; ;;
rpi[1-7]) rpi[1-7])
exclude_aux=false exclude_aux=true
fromdir=/ fromdir=/
ms root@$device ms root@$device
;; ;;
arch | external | arzen) arch | external | arzen | hopik)
fromdir=/ fromdir=/
ms root@$device ms root@$device
;; ;;
...@@ -31,4 +31,12 @@ case "$device" in ...@@ -31,4 +31,12 @@ case "$device" in
exclude_aux=false exclude_aux=false
fromdir=/ fromdir=/
ms root@$device ms root@$device
;;
blattes)
fromdir=/
ssh root@$device.blatto.eu
;;
jug9-stratosphere)
fromdir=/
ssh root@jug9-stratosphere
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment