Replies: 2 comments
-
I figured out that the user's script environment doesn't inherit LIMA_* variables as I tend to think this was forgotten as this hugely limits user mode scripts. I'll create a PR that adds this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Template variables are available in provisioning scripts since the 0.20.0 release (#2121).
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use Lima's environment vars from a user mode provision script like this:
Unfortunately, this creates a wrong link like the var wasn't set:
It seems like Lima's environment vars are not accessible from the user script while from "system" mode script they are. Template variables like
{{.Name}}
aren't usable as well.Is this a bug or intended behavior? If intended behavior, then how to get LIMA_* vars from user mode provision scripts?
Beta Was this translation helpful? Give feedback.
All reactions