Skip to content

Commit 6efa418

Browse files
committed
docs: remove explicit --mount-type=virtiofs
`--mount-type=virtiofs` is not required on macOS (vz) because it is the default since Lima v1.0. On Linux virtiofs still needs a complex setup and is not recommended. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 964d35e commit 6efa418

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ An example configuration:
4747
{{< tabpane text=true >}}
4848
{{% tab header="CLI" %}}
4949
```bash
50-
limactl start --vm-type=vz --mount-type=virtiofs
50+
limactl start --vm-type=vz
5151
```
5252
{{% /tab %}}
5353
{{% tab header="YAML" %}}
@@ -61,7 +61,6 @@ images:
6161
arch: "aarch64"
6262
mounts:
6363
- location: "~"
64-
mountType: "virtiofs"
6564
```
6665
{{% /tab %}}
6766
{{< /tabpane >}}

website/content/en/docs/examples/_index.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ By default, the VM has read-only accesses to `/Users/<USERNAME>`.
1414

1515
To allow writing to `/Users/<USERNAME>`:
1616
```bash
17-
limactl edit --mount-writable --mount-type=virtiofs
17+
limactl edit --mount-writable
1818
```
1919

20-
Specifying `--mount-type=virtiofs` is not necessary here, but it is highly recommended
21-
for the best performance and stability.
22-
2320
{{% alert title="Hint" color=success %}}
2421
Lima prior to v2.0 mounts `/tmp/lima` too in read-write mode.
2522

@@ -81,7 +78,6 @@ limactl start \
8178
--memory=8 \
8279
--vm-type=vz \
8380
--rosetta \
84-
--mount-type=virtiofs \
8581
--mount-writable \
8682
--network=vzNAT \
8783
template://fedora
@@ -92,7 +88,6 @@ limactl start \
9288
- `--memory=8`: Set the amount of the memory to 8 GiB
9389
- `--vm-type=vz`: Use Apple's Virtualization.framework (vz) to enable Rosetta, virtiofs, and vzNAT
9490
- `--rosetta`: Allow running Intel (AMD) binaries on ARM
95-
- `--mount-type=virtiofs`: Use virtiofs for better performance
9691
- `--mount-writable`: Make the home mount (`/Users/<USERNAME>`) writable
9792
- `--network=vzNAT`: Make the VM reachable from the host by its IP address
9893
- `template://fedora`: Use Fedora

0 commit comments

Comments
 (0)