-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
machine id: Added cmdline argument to use VM behaviour on bare metal #32086
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
Conversation
2ed8971 to
96c73da
Compare
96c73da to
b8e8667
Compare
|
Hmm, I think adding this would be OK. but I think we should overload the existing systemd.machine_id= setting for this. i.e. if systemd.machine_id=smbios would mean: read the uuid from smbios. and similar. We just need to make sure that whatever special strings we introduce here they are under no circumstances something one could mistake for a proper machine ID. i.e. contain at least one character outside the [0-9a-f-] charset, and maybe are not 32ch long... |
|
actually, it should be called systemd.machine_id=firmware I guess. After all we already support both smbios and devicetree for this, hence a more generic name sounds better |
|
looks conceptually ok, but please don#t call this "the vm logic", see above, and please add this to the existing systemd.machine_id= param just as a new special case. |
|
Sure, makes sense. I will change it to systemd.machine_id=firmware. |
b8e8667 to
3a01c44
Compare
3a01c44 to
fe3fa3d
Compare
fe3fa3d to
3ca51e6
Compare
9046946 to
54d1484
Compare
56355da to
32a929b
Compare
|
Now I am happy! thank you! |
YHNdnzj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for one problem
Should fix #30707.