-
Notifications
You must be signed in to change notification settings - Fork 202
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
Add MachineHostType specification #1005
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: n1hility The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Should this be under MachineConfig? |
My thinking was it shouldn't be because like its peer Perhaps in either case it should be renamed to machine_host_type? |
I am fine with leaving it where it is. I just wonder if users would get confused with |
we did have another way to detect this ... iirc it was an environment variable being set by the ignition file. lemme see if I can find the reference. |
i t wasnt an environment exactly. |
Signed-off-by: Jason T. Greene <[email protected]>
Right this value is effectively just one additional piece of information on top of this same setting. noting that not only is this podman instance running under a machine but which type of machine that is. I pushed an update that renames this to machine_host_type, in case that helps remove some of the ambiguity the name might imply. |
Maybe I am a bit late for this, but could we use a special file instead, i.e. I do not want to force you to change the logic. The field currently works fine and we need to continue to support this for backwards compat anyway. I just want to point out that options in containers.conf are confusing to users when they are never expected to use them. |
I tend to agree with @Luap99 since I don't see users ever changing the config. |
I like the file better as well. Should the machine_enable value be deprecated in favor of this as well? |
Yes lets deprecate it. Remove it from documentation and have it checked second. |
cool. Closing this one will adjust the other PR and do a separate change for the deprecation |
This PR enables an upcoming PR for Windows volume/mount support
Signed-off-by: Jason T. Greene [email protected]