-
Notifications
You must be signed in to change notification settings - Fork 56
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
Rust agent does not support dmidecode
or hostname
for uuid
option.
#454
Comments
Related: #280 |
For uuid, the |
I don't even think that we need that option anymore, because you can override the uuid via an env variable, if you need special generation of uuids. @ansasaki what do you think? |
As a workaround this is true. For deployments you would need to add a systemd override to the unit file to export a new env var to do that automatically. If we decide to go to this path, at least we should document how to do that. |
Does this hold for |
@aplanas yes we should add that at least to the config file.
@arkivm if it is easy to implement, we can implement the hostname option. |
There is this inconsistency that maybe we can try to resolve. Reading this makes me feel bad:
Hostnames are useful: are unique and easy to remember when writing the tenant command to enrolling it, but they are clearly no UUIDs. I am not sure how this should be resolved, but maybe we can introduce a new field named "ID", that can contain other strings that represent the agent, that can be used if the UUID field is not present, and force that the UUID is a valid UUID and not some random string. |
@aplanas sounds like plan to introduce an id option 👍 |
Any news in this matter? |
Not really, the priority on this is very low as nobody provided an use case where overriding the UUID using environment variables is not sufficient. @derpedda Could you please describe your use case for this missing feature? |
Were going to use WereWulf to deploy keylime on an HPCcluster, overriding using environment variables would be possible of course) |
I think there is no need for another issue as this problem was reported via #280 I believe the best way to fix this is to implement what @aplanas suggested:
There is an extra complication of managing What do you think? Would this be acceptable? I do not promise this will be implemented soon as the solution is complicated and affects many parts of the code. |
Adding the extra field ID following @aplanas solution would be the most clean way to implement it indeed. I also highly support the position that the What comes to my mind with generated |
I see some possible solutions with various levels of complexity:
|
The rust agent does not support the
dmidecode
nor thehostname
keywords for theuuid
option.The text was updated successfully, but these errors were encountered: