mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
VM scripts parallel lcl retrieval.
This commit is contained in:
2
test/vm-cluster/.gitignore
vendored
2
test/vm-cluster/.gitignore
vendored
@@ -1,5 +1,5 @@
|
||||
cfg
|
||||
vmpass.txt
|
||||
vmlist.txt
|
||||
vmlist*.txt
|
||||
vmresgroup.txt
|
||||
hpfiles
|
||||
@@ -143,7 +143,8 @@ if [ $mode = "lcl" ]; then
|
||||
for (( i=0; i<$vmcount; i++ ))
|
||||
do
|
||||
vmaddr=${vmaddrs[i]}
|
||||
sshpass -p $vmpass ssh $vmuser@$vmaddr 'ls -v contract/hist | tail -1' &
|
||||
let nodeid=$i+1
|
||||
echo "node"$nodeid":" $(sshpass -p $vmpass ssh $vmuser@$vmaddr 'ls -v contract/hist | tail -1') &
|
||||
done
|
||||
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user