File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 64
64
run : brew install iperf3 jq
65
65
- name : " Lima: vm1: prepare"
66
66
run : |
67
- limactl start --name=vm1 --set '.cpus=1 | .memory = "1GiB"' --tty=false template:/ /vmnet
67
+ limactl start --name=vm1 --set '.cpus=1 | .memory = "1GiB"' --tty=false ./test /vmnet.yaml
68
68
limactl shell vm1 ip a
69
69
- name : " Lima: vm1: set up iperf3"
70
70
run : |
81
81
run : tail -n500 ~/.lima/vm1/*.log
82
82
- name : " Lima: vm2: prepare"
83
83
run : |
84
- limactl start --name=vm2 --set '.cpus=1 | .memory = "1GiB"' --tty=false template:/ /vmnet
84
+ limactl start --name=vm2 --set '.cpus=1 | .memory = "1GiB"' --tty=false ./test /vmnet.yaml
85
85
limactl shell vm2 ip a
86
86
- name : " Lima: vm2: set up iperf3"
87
87
run : |
Original file line number Diff line number Diff line change
1
+ # Forked from https://github.com/lima-vm/lima/blob/v0.23.2/examples/vmnet.yaml
2
+ #
3
+ # `no_timer_check` is injected to the kernel cmdline, as a workaround to https://github.com/lima-vm/lima/issues/84
4
+
5
+ images :
6
+ - location : " https://cloud-images.ubuntu.com/releases/24.04/release-20240821/ubuntu-24.04-server-cloudimg-amd64.img"
7
+ arch : " x86_64"
8
+ digest : " sha256:0e25ca6ee9f08ec5d4f9910054b66ae7163c6152e81a3e67689d89bd6e4dfa69"
9
+ kernel :
10
+ location : https://cloud-images.ubuntu.com/releases/24.04/release-20240821/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic
11
+ digest : sha256:1e894dc26a939a7cb408ba8366e101f5572a5f85a90a6d74ab4cb55211460306
12
+ cmdline : root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check
13
+ initrd :
14
+ location : https://cloud-images.ubuntu.com/releases/24.04/release-20240821/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic
15
+ digest : sha256:c44215c42d97abd9ada4a961de0ab7305d74c39860776cf2d7a0260ac9d0637e
16
+
17
+ mounts :
18
+ - location : " ~"
19
+ - location : " /tmp/lima"
20
+ writable : true
21
+ networks :
22
+ - lima : shared
You can’t perform that action at this time.
0 commit comments