Exit code stub

This commit is contained in:
Ryabin Sergey 2015-03-04 13:30:21 +03:00
parent e96cc6b12e
commit f85965d1a8
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
set -ex
export SSH_ARGS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
@ -12,4 +12,4 @@ sh /home/cirros/cirros_timeline.sh $floating_ip > /home/cirros/output.txt 2>&1 &
EOF
echo -n $floating_ip | xargs -d" " -P5 -I% sh -c "sshpass -p'cubswin:)' scp $SSH_ARGS cirros_timeline* cirros@%: || :"
echo -n $floating_ip | xargs -d" " -P5 -I% sh -c "sshpass -p'cubswin:)' ssh $SSH_ARGS cirros@% sh ./cirros_timeline_wrapper.sh"
echo -n $floating_ip | xargs -d" " -P5 -I% sh -c "sshpass -p'cubswin:)' ssh $SSH_ARGS cirros@% sh ./cirros_timeline_wrapper.sh || :"