-
Hi all. So, perhaps it's a dumb question. Let me provide some context. I have:
But when executing
So, yes my custom mount location is being mounted but my host home directory is mounted as well. Why? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
This is a limitation of the You will have to edit the instance config itself if you want to remove the default mount points. |
Beta Was this translation helpful? Give feedback.
-
I understand. Is this by design or is it open to modification?
I tried:
but the configuration file that is opened on my terminal only contains the mount location I originally defined ( Thanks for replying that fast :) I copy here the mounts section of my configuration file:
|
Beta Was this translation helpful? Give feedback.
-
I tried again, and it worked 🤷 One more question, is there any way to specify the directory in the guest on which the mount location will be mounted? So for instance, I specify the mount location on my host to be |
Beta Was this translation helpful? Give feedback.
-
@marcoslar @jandubois Hi folks! May I suggest that either one of you mark this question as answered? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
-
@marcoslar This is been implemented in lima 0.11.1 by #867 |
Beta Was this translation helpful? Give feedback.
This is a limitation of the
default
andoverride
mechanism: there is no way to remove an entry from a list; they just append, with the exception thatmounts
with the samelocation
will update the other attributes instead of adding a duplicate entry.You will have to edit the instance config itself if you want to remove the default mount points.