You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to `--mount`, but overrides the existing mounts.
e.g.,
```
limactl start --mount-only "$(pwd)"
````
This will only make the current directory visible to the VM.
The host home directory is not visible (unless pwd is the home).
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
flags.StringSlice("mount", nil, commentPrefix+"Directories to mount, suffix ':w' for writable (Do not specify directories that overlap with the existing mounts)") // colima-compatible
47
+
flags.StringSlice("mount-only", nil, commentPrefix+"Similar to --mount, but overrides the existing mounts")
48
+
47
49
flags.Bool("mount-none", false, commentPrefix+"Remove all mounts")
48
50
49
51
flags.String("mount-type", "", commentPrefix+"Mount type (reverse-sshfs, 9p, virtiofs)") // Similar to colima's --mount-type=(sshfs|9p|virtiofs), but "reverse-sshfs" is Lima is called "sshfs" in colima
0 commit comments