-
Notifications
You must be signed in to change notification settings - Fork 498
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
(FACT-3202) Add is_virtual and virtual support for crio #2574
(FACT-3202) Add is_virtual and virtual support for crio #2574
Conversation
Can one of the admins verify this patch? |
e93f832
to
0cd5606
Compare
Would love a review if any of the codeowners have a moment? |
friendly bump for a review please |
@joshcooper any chance you would have time to take a gander? |
friendly bump for a review! |
Would love a review, any takers? |
would love a review! |
friendly bump! |
Hi @lollipopman thanks for the PR, could you update your PR so there's no conflicts? Thanks! |
0cd5606
to
bae8f48
Compare
Happy to, pushed, thanks for looking @AriaXLi |
21afec5
to
a6f1604
Compare
@AriaXLi tests are passing, do you think you could take a look? thanks! |
@AriaXLi any chance you could look at this again, before it bitrots? <3 |
Prior to this commit the safe_readlines wrapper did not support the sep argument as supported by readlines.
a6f1604
to
15e7f17
Compare
@joshcooper patch updated, ready for another review |
Thank you @lollipopman looks good, just running tests |
Prior to this change facter returned: $ facter is_virtual false $ facter virtual physical After this change facter returns: $ facter is_virtual true $ facter virtual crio This change separates out reading pid 1's environment from proc and reading the cgroup information. It also adds explicit support for podman and returns container_other when the container runtime is not explicitly supported.
15e7f17
to
7bc38cc
Compare
Tests look good, anything else to do @joshcooper? |
Thank you @lollipopman! |
Prior to this change facter returned:
After this change facter returns:
This change separates out reading pid 1's environment from proc and reading the cgroup information. It also adds a container_other type when the container runtime is not explicitly supported.