You've already forked dts-scripts
mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-03-06 15:01:22 -08:00
18 lines
323 B
Bash
Executable File
18 lines
323 B
Bash
Executable File
#!/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
|