-
Notifications
You must be signed in to change notification settings - Fork 17
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
Label Templates: Hardware variables rework #834
Comments
'dumpdata' allows to inspect host data from the running host as they are collected during the registration phase: those are the data made available in the Elemental Label Templates feature. This subcommand was developed while working at rancher#834 and since could be handy for debugging and even for users (elemental sysadmins) adding it to the elemental-register binary. 'version' is the very first step in moving the elemental-register flags to command, as requested by rancher#832. Related to issues: rancher#832, rancher#834 Signed-off-by: Francesco Giudici <[email protected]>
'dumpdata' allows to inspect host data from the running host as they are collected during the registration phase: those are the data made available in the Elemental Label Templates feature. This subcommand was developed while working at #834 and since could be handy for debugging and even for users (elemental sysadmins) adding it to the elemental-register binary. 'version' is the very first step in moving the elemental-register flags to command, as requested by #832. Related to issues: #832, #834 Signed-off-by: Francesco Giudici <[email protected]>
Hello, following this! |
Hey @gervaso 👋🏼 |
Oh, this is a very useful piece of information I've been missing out. I'll put it to good use in a flash! |
The Hardware data collected during the host registration is altered before being sent to the Elemental Operator, in order to make it easier to consume.
Anyway, this wrapping process should be improved fixing the format of the data (e.g., ${CPU/Capabilities} is filled as a slice of strings, that fails to be rendered) and allowing to enumerate block and network devices without knowing their device name (which brings to some nonsense variables like
${System Data/Network/{Iface name}/Name}
, where the rendered value is equal to what you have to put in the template as the{Iface name}
).This issue tracks:
sibling doc issue: rancher/elemental-docs#374
The text was updated successfully, but these errors were encountered: