-
Notifications
You must be signed in to change notification settings - Fork 623
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
template://podman-rootful
: provision scripts should not depend on LIMA_CIDATA_*
#2055
Comments
Also used in docker-rootful, I think |
@AkihiroSuda Can you explain why template variables are preferable to the env variables? It makes no big difference, but env variables are slightly more flexible if you want to work on the scripts in a running instance because the variables are not yet filled in (you can make changes to the script and copy it back into Another thing is that Anyways, no strong feelings either way. |
Because these variables are implementation details of the init scripts, and can be removed even in a patch release. |
Oh, so the template would only make a subset of the information available? I thought you wanted to apply the cidata templating function to the scripts, which is functionally equivalent to exposing the shell variables; So what are the template variables that should be exposed via the template? |
Just same as the template for the sockets? Line 364 in b453ded
|
Ok, that works for me. Would the I guess we could do a string match for |
👍 |
lima/examples/podman-rootful.yaml
Line 44 in b453ded
The provision scripts should probably use template like
{{.User}}
#2052 (comment)
The text was updated successfully, but these errors were encountered: