clearcontainers / runtime

OCI (Open Containers Initiative) compatible runtime using Virtual Machines
Apache License 2.0
589 stars 70 forks source link

scripts: Add agent version to collect script #1057

Closed jodh-intel closed 6 years ago

jodh-intel commented 6 years ago

Add the agent version to the collect script output.

Fixes #1055.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

jodh-intel commented 6 years ago

This will "work", but won't actually show the correct agent version until we get a new image release containing https://github.com/clearcontainers/agent/pull/213 (commit https://github.com/clearcontainers/agent/pull/213/commits/14c4a2d4c9ae4cc8a53e54f57ab6ba10a432fb80).

Tested with Kata too (run as sudo kata-collect-data.sh) which shows the following on my test box:


Agent

version:

kata-agent version 0.0.1-33eecb2a445f906811a5bc9713d2dafd10768d18-dirty

sboeuf commented 6 years ago

Thanks @jodh-intel for this PR. LGTM