From cae3595530c4aff6fd834a6497180176c5025067 Mon Sep 17 00:00:00 2001 From: Matthias Tafelmeier Date: Tue, 28 Nov 2023 16:51:37 +0100 Subject: [PATCH] some --- testing/maskfile.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/maskfile.md b/testing/maskfile.md index ee806cf9..2ebf033b 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}" "sudo systemctl stop test-server; sudo 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}" "sudo systemctl stop test-client; sudo systemctl start test-client" ~~~