[bootkit] purpose of func metaDataQuery
and container_uuid
#110
Labels
kind/support
Categorizes issue or PR as a support question.
triage/discuss
Indicates a PR or issue that requires discussion
Anyone know any context/purpose for the
metaDataQuery
function? It looks like it queries the metadata server (hegel) and just pulls out theid
field. Then uses this value as an env varcontainer_uuid
when starting the Tink-worker. A quick grep of the Tink code bases doesn't come up with any references to thiscontainer_uuid
field.Also, it looks like this
id
string is the same as theWORKER_ID
in/proc/cmdline
. This feels like something that could potentially be removed entirely frombootkit
?CC @thebsdbox
This is from the sandbox:
"id": "0eba0bf8-3772-4b4a-ab9f-6ebe93b90a94"
worker_id=0eba0bf8-3772-4b4a-ab9f-6ebe93b90a94
metadata (formatted for readability)
/proc/cmdline (formatted for readability)
The text was updated successfully, but these errors were encountered: