diff options
author | Eric Desrochers <eric.desrochers@canonical.com> | 2019-11-13 09:21:46 -0500 |
---|---|---|
committer | Bryan Quigley <bryan.quigley@canonical.com> | 2019-11-13 09:36:31 -0800 |
commit | c1d1f459b5396633110ae86acb1cee3bb17d850a (patch) | |
tree | 2228b868db9881cd7577e19a280a9ede5084c8e5 | |
parent | 2afbe9ae574446aedc99b086fbe392fd30c8b46f (diff) | |
download | sos-c1d1f459b5396633110ae86acb1cee3bb17d850a.tar.gz |
[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 <eric.desrochers@canonical.com>
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
-rw-r--r-- | sos/plugins/lxd.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |