prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Obtain CNI files for containerd
  Containerd uses the CNI configuration present in the defined folders by the configuration
  
  ```
     [plugins."io.containerd.grpc.v1.cri".cni]
        conf_dir = "/etc/cni/net.d
  ```
  
  It will be very useful to obtain the cni configurations present on the folder for debugging networking related problems 
  
  
  https://github.com/sosreport/sos/blob/b94ced8370824bd62f3c7573ae33fcb96c5da531/sos/report/plugins/containerd.py#L12-L28
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `sos/report/plugins/containerd.py`
  Content:
  ```
  1 # This file is part of the sos project: https://github.com/sosreport/sos
  2 #
  3 # This copyrighted material is made available to anyone wishing to use,
  4 # modify, copy, or redistribute it subject to the terms and conditions of
  5 # version 2 of the GNU General Public License.
  6 #
  7 # See the LICENSE file in the source distribution for further information.
  8 
  9 from sos.report.plugins import (Plugin, RedHatPlugin, UbuntuPlugin, CosPlugin)
  10 
  11 
  12 class Containerd(Plugin, RedHatPlugin, UbuntuPlugin, CosPlugin):
  13 
  14     short_desc = 'Containerd containers'
  15     plugin_name = 'containerd'
  16     profiles = ('container',)
  17     packages = ('containerd', 'containerd.io',)
  18 
  19     def setup(self):
  20         self.add_copy_spec([
  21             "/etc/containerd/",
  22         ])
  23 
  24         self.add_cmd_output('containerd config dump')
  25 
  26         # collect the containerd logs.
  27         self.add_journal(units='containerd')
  28 
  29 # vim: set et ts=4 sw=4 :
  30
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/sos/report/plugins/containerd.py b/sos/report/plugins/containerd.py
  --- a/sos/report/plugins/containerd.py
  +++ b/sos/report/plugins/containerd.py
  @@ -19,6 +19,7 @@
       def setup(self):
           self.add_copy_spec([
               "/etc/containerd/",
  +            "/etc/cni/net.d/",
           ])
   
           self.add_cmd_output('containerd config dump')
  
verification_info: {"golden_diff": "diff --git a/sos/report/plugins/containerd.py b/sos/report/plugins/containerd.py\n--- a/sos/report/plugins/containerd.py\n+++ b/sos/report/plugins/containerd.py\n@@ -19,6 +19,7 @@\n     def setup(self):\n         self.add_copy_spec([\n             \"/etc/containerd/\",\n+            \"/etc/cni/net.d/\",\n         ])\n \n         self.add_cmd_output('containerd config dump')\n", "issue": "Obtain CNI files for containerd\nContainerd uses the CNI configuration present in the defined folders by the configuration\r\n\r\n```\r\n   [plugins.\"io.containerd.grpc.v1.cri\".cni]\r\n      conf_dir = \"/etc/cni/net.d\r\n```\r\n\r\nIt will be very useful to obtain the cni configurations present on the folder for debugging networking related problems \r\n\r\n\r\nhttps://github.com/sosreport/sos/blob/b94ced8370824bd62f3c7573ae33fcb96c5da531/sos/report/plugins/containerd.py#L12-L28\n", "before_files": [{"content": "# This file is part of the sos project: https://github.com/sosreport/sos\n#\n# This copyrighted material is made available to anyone wishing to use,\n# modify, copy, or redistribute it subject to the terms and conditions of\n# version 2 of the GNU General Public License.\n#\n# See the LICENSE file in the source distribution for further information.\n\nfrom sos.report.plugins import (Plugin, RedHatPlugin, UbuntuPlugin, CosPlugin)\n\n\nclass Containerd(Plugin, RedHatPlugin, UbuntuPlugin, CosPlugin):\n\n    short_desc = 'Containerd containers'\n    plugin_name = 'containerd'\n    profiles = ('container',)\n    packages = ('containerd', 'containerd.io',)\n\n    def setup(self):\n        self.add_copy_spec([\n            \"/etc/containerd/\",\n        ])\n\n        self.add_cmd_output('containerd config dump')\n\n        # collect the containerd logs.\n        self.add_journal(units='containerd')\n\n# vim: set et ts=4 sw=4 :\n", "path": "sos/report/plugins/containerd.py"}], "after_files": [{"content": "# This file is part of the sos project: https://github.com/sosreport/sos\n#\n# This copyrighted material is made available to anyone wishing to use,\n# modify, copy, or redistribute it subject to the terms and conditions of\n# version 2 of the GNU General Public License.\n#\n# See the LICENSE file in the source distribution for further information.\n\nfrom sos.report.plugins import (Plugin, RedHatPlugin, UbuntuPlugin, CosPlugin)\n\n\nclass Containerd(Plugin, RedHatPlugin, UbuntuPlugin, CosPlugin):\n\n    short_desc = 'Containerd containers'\n    plugin_name = 'containerd'\n    profiles = ('container',)\n    packages = ('containerd', 'containerd.io',)\n\n    def setup(self):\n        self.add_copy_spec([\n            \"/etc/containerd/\",\n            \"/etc/cni/net.d/\",\n        ])\n\n        self.add_cmd_output('containerd config dump')\n\n        # collect the containerd logs.\n        self.add_journal(units='containerd')\n\n# vim: set et ts=4 sw=4 :\n", "path": "sos/report/plugins/containerd.py"}]}