From c1d1f459b5396633110ae86acb1cee3bb17d850a Mon Sep 17 00:00:00 2001 From: Eric Desrochers Date: Wed, 13 Nov 2019 09:21:46 -0500 Subject: [lxd] Add detection when lxd is installed as a snap. Conventional deb package extracts lxd binary in /usr/bin/lxd, while snap extracts lxd binary in /snap/bin/lxd. More and more Ubuntu integrates mechanisms to convert DEB to SNAP (especially for Canonical products such as juju, lxd, canonical-livepatch) during release upgrade. Meaning sosreport should be capable to detect both installation types. Resolves: 1855 Signed-off-by: Eric Desrochers Signed-off-by: Bryan Quigley --- sos/plugins/lxd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sos/plugins/lxd.py b/sos/plugins/lxd.py index 02ff7073..ae004d0e 100644 --- a/sos/plugins/lxd.py +++ b/sos/plugins/lxd.py @@ -17,6 +17,7 @@ class LXD(Plugin, UbuntuPlugin): plugin_name = 'lxd' profiles = ('container',) packages = ('lxd',) + commands = ('lxd',) # Version 2.0.X: # - /etc/default/lxd-bridge -- cgit