diff options
Diffstat (limited to 'tools/keystone')
-rwxr-xr-x | tools/keystone/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/keystone/run.sh b/tools/keystone/run.sh index 433438c..6ece634 100755 --- a/tools/keystone/run.sh +++ b/tools/keystone/run.sh @@ -80,7 +80,7 @@ function run_on_target() { if [ -n "${data}" ]; then # Copy any accompanying data along with the script sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \ - "ssh $ssh_options $1 \"cd /root/ && cat > ${data}\"" < ${data} &> /dev/null + "ssh $ssh_options $1 \"cd /root/ && cat > $(basename ${data})\"" < ${data} &> /dev/null fi # Set the rights and execute sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \ |