File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -82,24 +82,24 @@ jobs:
82
82
run : brew install iperf3 jq
83
83
- name : " Lima: vm1: prepare"
84
84
run : |
85
- limactl start --name=vm1 --set '.cpus=1 | .memory = "1GiB"' -- tty=false ./test/vmnet.yaml
85
+ limactl start --name=vm1 --tty=false ./test/vmnet.yaml
86
86
limactl shell vm1 ip a
87
87
- name : " Lima: vm1: set up iperf3"
88
88
run : |
89
89
limactl shell vm1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3
90
- limactl shell vm1 systemd-run --user --unit=iperf3 iperf3 -s
90
+ limactl shell vm1 sudo systemctl start iperf3.service
91
91
- name : " Lima: vm1: get the IP"
92
92
run : |
93
93
limactl shell vm1 ip -4 -json addr show dev lima0 | jq -r .[0].addr_info[0].local | tee /tmp/vm1_iP
94
94
- name : " Lima: vm1: iperf3 (host -> vm1)"
95
95
run : |
96
- iperf3 -c "$(cat /tmp/vm1_ip)"
96
+ iperf3-darwin -c "$(cat /tmp/vm1_ip)"
97
97
- name : " Lima: vm1: debug"
98
98
if : failure()
99
99
run : tail -n500 ~/.lima/vm1/*.log
100
100
- name : " Lima: vm2: prepare"
101
101
run : |
102
- limactl start --name=vm2 --set '.cpus=1 | .memory = "1GiB"' --tty=false ./test/vmnet.yaml
102
+ limactl start --name=vm2 --tty=false ./test/vmnet.yaml
103
103
limactl shell vm2 ip a
104
104
- name : " Lima: vm2: set up iperf3"
105
105
run : |
Original file line number Diff line number Diff line change @@ -18,5 +18,7 @@ mounts:
18
18
- location : " ~"
19
19
- location : " /tmp/lima"
20
20
writable : true
21
+ memory : " 1g"
22
+ cpus : 1
21
23
networks :
22
24
- lima : shared
You can’t perform that action at this time.
0 commit comments