diff --git a/testing/maskfile.md b/testing/maskfile.md index ee806cf9..f73cf991 100755 --- a/testing/maskfile.md +++ b/testing/maskfile.md @@ -255,12 +255,12 @@ __ssh_cmd="ssh -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null __source_vm_ip_address=($(${__kcli_cmd} "list vm" | grep 'micro_stack' | grep 'source' | awk -F\| '{ print $4 }' | xargs)) __sink_vm_ip_address=($(${__kcli_cmd} "list vm" | grep 'micro_stack' | grep 'sink' | awk -F\| '{ print $4 }' | xargs)) -__sink_vm_test_iface_ip_address=($("${__ssh_cmd}" "godon_robot@${__sink_vm_ip_address}" "ip --json a show dev ens8 | jq '.[0].addr_info[0].local'")) +__sink_vm_test_iface_ip_address=($(${__ssh_cmd} "godon_robot@${__sink_vm_ip_address}" "ip --json a show dev ens8 | jq '.[0].addr_info[0].local'")) -"${__ssh_cmd}" "godon_robot@${__sink_vm_ip_address}" "systemctl stop test-server; systemctl start test-server" +${__ssh_cmd} "godon_robot@${__sink_vm_ip_address}" "systemctl stop test-server; systemctl start test-server" -"${__ssh_cmd}" "godon_robot@${__source_vm_ip_address}" "echo "SINK_IP=${__sink_vm_test_iface_ip_address}" > /opt/sink_ip" -"${__ssh_cmd}" "godon_robot@${__source_vm_ip_address}" "systemctl stop test-client; systemctl start test-client" +${__ssh_cmd} "godon_robot@${__source_vm_ip_address}" "echo "SINK_IP=${__sink_vm_test_iface_ip_address}" > /opt/sink_ip" +${__ssh_cmd} "godon_robot@${__source_vm_ip_address}" "systemctl stop test-client; systemctl start test-client" ~~~