-
Notifications
You must be signed in to change notification settings - Fork 11
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
agent: Retrieve system-uuid #89
Conversation
@machacekondra, I haven't verified it on a real image yet. I put this for visibility for now. |
cmd/planner-agent/main.go
Outdated
} | ||
|
||
// look for the file in $HOME | ||
homedir, err := os.UserHomeDir() |
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.
We are in container here, so we don't have the file there.
Yep, for some reason the file is not created as
I don't see any log relevant to |
dmidecode needs to be installed first. |
This commit adds a service to agent image that is retrieving the system-uuid and write it into `/var/home/core/agent_id`. Agent reads this file at start up. Signed-off-by: Cosmin Tupangiu <[email protected]>
This PR adds a service to agent image that is retrieving the system-uuid and write it into
/var/home/core/agent_id
. Agent reads this file at start up.Signed-off-by: Cosmin Tupangiu [email protected]