Update lima.md
This commit is contained in:
parent
304ae560c3
commit
c186fcbf42
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
https://medium.com/@harry-touloupas/when-mac-m1-m2-met-ebpf-a-tale-of-compatibility-6b9a6bc53f3e
|
https://medium.com/@harry-touloupas/when-mac-m1-m2-met-ebpf-a-tale-of-compatibility-6b9a6bc53f3e
|
||||||
* brew install lima
|
* brew install lima
|
||||||
* create file ubuntu-lts-ebpf.yaml: ```
|
* create file ubuntu-lts-ebpf.yaml:
|
||||||
|
* ```yaml
|
||||||
images:
|
images:
|
||||||
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
|
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
|
||||||
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230518/ubuntu-22.04-server-cloudimg-amd64.img"
|
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230518/ubuntu-22.04-server-cloudimg-amd64.img"
|
||||||
|
|
@ -37,6 +38,7 @@ provision:
|
||||||
set -eux -o pipefail
|
set -eux -o pipefail
|
||||||
sudo cp /home/$(whoami).linux/.ssh/authorized_keys /root/.ssh/authorized_keys
|
sudo cp /home/$(whoami).linux/.ssh/authorized_keys /root/.ssh/authorized_keys
|
||||||
```
|
```
|
||||||
|
|
||||||
* ```bash
|
* ```bash
|
||||||
limactl start --name=ebpf-lima-vm ./ubuntu-lts-ebpf.yaml
|
limactl start --name=ebpf-lima-vm ./ubuntu-lts-ebpf.yaml
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue