-
Notifications
You must be signed in to change notification settings - Fork 646
Add {{.Temp}} variable to host templates #3318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
0d25153
to
89857c8
Compare
Allows writing the temp mount as mounts: - location: "{{.Temp}}/lima" mountPoint: /tmp/lima Note that on macOS this would use $TMPDIR and not /tmp, so would be a change in behaviour. It would not affect existing instances though. Signed-off-by: Jan Dubois <[email protected]>
89857c8
to
1f6fd20
Compare
Do you need to model "the real" $TMPDIR, or should it be something like $LIMA_TEMP instead? One concern was that there are many users sharing the |
This made default.yaml compatible with Windows. I managed to create and start VM w/o changes to template. Output of the mount command:
The |
9p mounts
|
I'm going to leave this PR open (and in draft mode) because I think adding the But the change to |
Note
For discussion purposes; would need to apply changes to all templates if accepted.
See #2339 (comment) and #3316.
Allows writing the
/tmp/lima
mount asNote that on macOS this would use
$TMPDIR
and not/tmp
, so would be a change in behaviour. It would not affect existing instances though.