Replies: 2 comments 2 replies
-
Lima attempts to be transparent to the user, which is why by default it mounts your host directory under the same path inside the VM. The result is that when you execute In your case this means that If you want to override this, you can use the
P.S. You can find a lot of the missing docs in the |
Beta Was this translation helpful? Give feedback.
-
This should be covered in the documentation, "starting a couple of VMs" is not the most typical use case - but should be covered It seems to mostly be about host home versus guest home? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Relatively new to lima here. I use lima to run some Debian Linux dev VMs on MacOS, and few observations appear a bit confusing to my newbie eyes. Would be nice if someone could share some explanation. Let's say that my username on MacOS is "alan".
On the MacOS host, I have this folder: "/Users/alan/Work", which contains a few dev project I've worked on natively in MacOS. I've added a "vz" type Debian Linux VM on lima and when I login to this VM using
limactl shell <vmname>
, by default I am placed in "/Users/alan" folder inside the VM. If I docd $HOME
, it takes me to "/home/alan.linux" folder, which has the "Work" folder (same as "/Users/alan/Work" from the host). This is what is totally confusing me. I have some scripts that use $HOME, so the behaviour is throwing them off. And what is that folder where I landed when I logged in withlimactl shell <vmname>
.The "lima.yaml" relevant section is:
Beta Was this translation helpful? Give feedback.
All reactions