-
Notifications
You must be signed in to change notification settings - Fork 42
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
Support environment variable for preseed #316
Comments
Hi @hayone1, can you please elaborate more on your specific automation use case? Why can't you pass the preseed file via stdin? |
Well, more options allow for more choices and where certain environments are limited in the use of stdin, they can defer to environment variables. eg. I tried to debug main_init_preseed in vscode, but vscode debug cannot read from stdin. As potential adoption of microcloud grows, you'd definitely find cases where the ability to set env variables would be the deciding factor in choosing microcloud over other options. |
The ask is simple.
Environment variables increase the ease and option of automation by a lot.
You could read stdin first and if it's nil or empty then read the environment variable next.
and
The text was updated successfully, but these errors were encountered: