diff --git a/cookbooks/ci_fixes/attributes/default.rb b/cookbooks/ci_fixes/attributes/default.rb index 22a2b886f..64b043605 100644 --- a/cookbooks/ci_fixes/attributes/default.rb +++ b/cookbooks/ci_fixes/attributes/default.rb @@ -28,9 +28,9 @@ 'Plugin Virtualization Monkeypatch: /proc/self/cgroup indicates ' + "#{$1} container. Detecting as #{$1} guest", ) - node.automatic['virtualization']['system'] = $1 # ~FC047 - node.automatic['virtualization']['role'] = 'guest' # ~FC047 - node.automatic['virtualization']['systems'][$1.to_s] = 'guest' # ~FC047 + node.automatic['virtualization']['system'] = $1 # rubocop:disable Chef/Meta/UseNodeDefault + node.automatic['virtualization']['role'] = 'guest' # rubocop:disable Chef/Meta/UseNodeDefault + node.automatic['virtualization']['systems'][$1.to_s] = 'guest' # rubocop:disable Chef/Meta/UseNodeDefault end end else