Ability to manually set: Node/Hypervisor type
-
If running nxagent as non root user within LXC container src/agent/subagents/linux/hypervisor.cpp will fail to detect container=lxc as it can not read /proc/1/environ.
Would it be possible to:
OR
-
extend src/agent/subagents/linux/hypervisor.cpp to implement methods to detect hypervisor and node type
example: https://github.com/systemd/systemd/blob/main/src/basic/virt.c#L657
-
use systemd-detect-virt executable directly
-
try to read /run/systemd/container
-
enable/explain option to manually set:
Node type: Container
Hypervisor type: LXC
thank you,
Ales
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login