Added an optional extra variable (a map) for machine identification #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A MAC address is only composed of 48 bits of which the first 24 bits can be determined as they are the OUI, which really only leaves about 24 random bits. Furthermore, a MAC address can easily be spoofed, which means using only the MAC for machine identification may become a vulnerability. This commit concerns the bare-metal/flatcar-linux folder and adds an optional field in the controllers and workers variables as well as a variable in the worker/variables.tf file. It defaults on {}. For example, it can be used to add a field based on the machine's uuid, which is 128 bits long, and thus make bruteforcing much harder (48 bits --> 48 * 128 bits).