diff options
author | Jorge Niedbalski <niedbalski@gmail.com> | 2016-11-24 15:23:59 -0300 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-12-07 11:46:15 +0000 |
commit | c2fb9e0723ec33df990629c797e6c49ad6bd429b (patch) | |
tree | d5e6e1e6e4305052ca68f23b547481ff5412380e | |
parent | 9e838540cf55bc4e130490c70dfcc731cfae9f57 (diff) | |
download | sos-c2fb9e0723ec33df990629c797e6c49ad6bd429b.tar.gz |
[plugin] Add polkit libvirt rules
This commit adds the file /usr/share/polkit-1/rules.d/60-libvirt.rules
to the copy specs of the Debian plugin.
Signed-off-by: Jorge Niedbalski R. jorge.niedbalski@canonical.com
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Closes: #894.
-rw-r--r-- | sos/plugins/openstack_nova.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py index 7c4765cf..e1aecb98 100644 --- a/sos/plugins/openstack_nova.py +++ b/sos/plugins/openstack_nova.py @@ -124,7 +124,10 @@ class DebianNova(OpenStackNova, DebianPlugin, UbuntuPlugin): def setup(self): super(DebianNova, self).setup() - self.add_copy_spec(["/etc/sudoers.d/nova_sudoers"]) + self.add_copy_spec([ + "/etc/sudoers.d/nova_sudoers", + "/usr/share/polkit-1/rules.d/60-libvirt.rules", + ]) class RedHatNova(OpenStackNova, RedHatPlugin): |