Skip to content

Commit 9750c51

Browse files
committed
fixed README.md wrong formatting
2 parents c305142 + 1bf33dc commit 9750c51

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/lima.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ jobs:
6565
limactl shell vm1 sudo apt-get update
6666
limactl shell vm1 sudo apt-get install -y iperf3
6767
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"
6876
- name: "Lima: vm1: get the IP"
6977
run: |
7078
limactl shell vm1 ip -4 -json addr show dev lima0 | jq -r .[0].addr_info[0].local | tee /tmp/vm1_iP

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ Run the following command to start the daemon:
124124
sudo /opt/socket_vmnet/bin/socket_vmnet --vmnet-gateway=192.168.105.1 /var/run/socket_vmnet
125125
```
126126

127-
> [!TIP] > `sudo make install` is also available in addition to `sudo make install.bin`.
127+
> [!TIP]
128+
> `sudo make install` is also available in addition to `sudo make install.bin`.
128129
> The former one installs the launchd service (see below) too.
129130
130131
<details>

0 commit comments

Comments
 (0)