Commit f7d99f46 authored by Andrey Filippov's avatar Andrey Filippov

added debug output for target_scp

parent c0f95527
......@@ -92,6 +92,7 @@ python do_target_scp () {
#copy archive
print("Copy archive")
cmd = "scp -i "+IDENTITY_FILE+" -p "+WORKDIR+"/image.tar.gz "+REMOTE_USER+"@"+REMOTE_IP+":/"
print("cmd: "+cmd)
subprocess.run(cmd,stderr=subprocess.STDOUT,shell=True)
#unpack archive to mountpoint
......@@ -107,6 +108,7 @@ python do_target_scp () {
#copy archive
cmd = "scp -i "+IDENTITY_FILE+" -p "+WORKDIR+"/image.tar.gz "+REMOTE_USER+"@"+REMOTE_IP+":/"
print("cmd: "+cmd)
subprocess.run(cmd,stderr=subprocess.STDOUT,shell=True)
#unpack archive to /
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment