Skip to content

Commit 1085417

Browse files
committed
docs: fix the description about the default driver
Also modernize the example YAML Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent b9e8140 commit 1085417

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

website/content/en/docs/config/vmtype/qemu.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ weight: 1
55

66
"qemu" option makes use of QEMU to run guest operating system.
77

8+
"qemu" is the default driver for Linux hosts.
9+
810
Recommended QEMU version:
911
- v8.2.1 or later (macOS)
10-
- v6.2.0 or later (Linux)
12+
- v6.2.0 or later (Linux)
13+
14+
An example configuration:
15+
{{< tabpane text=true >}}
16+
{{% tab header="CLI" %}}
17+
```bash
18+
limactl start --vm-type=qemu
19+
```
20+
{{% /tab %}}
21+
{{% tab header="YAML" %}}
22+
```yaml
23+
vmType: "qemu"
24+
25+
base:
26+
- template://_images/ubuntu
27+
- template://_default/mounts
28+
```

website/content/en/docs/config/vmtype/vz.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ weight: 2
88

99
"vz" option makes use of native virtualization support provided by macOS Virtualization.Framework.
1010

11-
An example configuration:
11+
"vz" has been the default driver for macOS hosts since Lima v1.0.
12+
13+
An example configuration (no need to be specified manually):
1214
{{< tabpane text=true >}}
1315
{{% tab header="CLI" %}}
1416
```bash
@@ -17,15 +19,11 @@ limactl start --vm-type=vz
1719
{{% /tab %}}
1820
{{% tab header="YAML" %}}
1921
```yaml
20-
# Example to run ubuntu using vmType: vz instead of qemu (Default)
2122
vmType: "vz"
22-
images:
23-
- location: "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img"
24-
arch: "x86_64"
25-
- location: "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img"
26-
arch: "aarch64"
27-
mounts:
28-
- location: "~"
23+
24+
base:
25+
- template://_images/ubuntu
26+
- template://_default/mounts
2927
```
3028
{{% /tab %}}
3129
{{< /tabpane >}}

0 commit comments

Comments
 (0)