We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7cc880 + 59ab68b commit 1bf33dcCopy full SHA for 1bf33dc
.github/workflows/lima.yaml
@@ -65,6 +65,14 @@ jobs:
65
limactl shell vm1 sudo apt-get update
66
limactl shell vm1 sudo apt-get install -y iperf3
67
limactl shell vm1 sudo systemctl start iperf3.service
68
+ echo "Waiting for iperf3 server ..."
69
+ limactl shell vm1 bash -s << EOF
70
+ if ! timeout 10s bash -c "until ss -tln | grep -q :5201; do sleep 1; done"; then
71
+ echo >&2 "Timeout waiting for iperf3 port"
72
+ exit 1
73
+ fi
74
+ EOF
75
+ echo "iperf3 server is ready"
76
- name: "Lima: vm1: get the IP"
77
run: |
78
limactl shell vm1 ip -4 -json addr show dev lima0 | jq -r .[0].addr_info[0].local | tee /tmp/vm1_iP
0 commit comments