You've already forked dts-scripts
mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-06-13 19:16:21 -07:00
61f68f01b0
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
18 lines
323 B
Bash
18 lines
323 B
Bash
#!/usr/bin/env bash
|
|
|
|
# This scripts deplos DTS scripts into target machine, for local development
|
|
|
|
IP_ADDR="$1"
|
|
PORT=${PORT:-22}
|
|
|
|
scp -P ${PORT} \
|
|
-O \
|
|
-o StrictHostKeyChecking=no \
|
|
-o UserKnownHostsFile=/dev/null \
|
|
include/* \
|
|
reports/* \
|
|
scripts/* \
|
|
tests/* \
|
|
dts-profile.sh \
|
|
root@${IP_ADDR}:/usr/sbin
|