diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2020-04-17 11:56:46 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2020-04-17 11:56:46 -0400 |
commit | f972710d43b419cac184f46bbf590929499c2c9e (patch) | |
tree | 60a77ff2a13a75eea13b4fc3c4201fd81ceb8c25 /units | |
parent | 2d512db9a4eb4319ffe0178438129c2bed541cfc (diff) |
add nvdimm resource dependency so these don't run on systems without nvdimm
Diffstat (limited to 'units')
-rw-r--r-- | units/nvdimm/jobs.pxu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/units/nvdimm/jobs.pxu b/units/nvdimm/jobs.pxu index 4a64c0b..edceffa 100644 --- a/units/nvdimm/jobs.pxu +++ b/units/nvdimm/jobs.pxu @@ -6,6 +6,7 @@ user: root requires: executable.name == "ipmctl" lsb.release >= "18.04" + nvdimm.detected == "true" command: ipmctl show -dimm _summary: Verify that NVDIMMs are discovered @@ -20,6 +21,7 @@ user: root requires: executable.name == "ipmctl" lsb.release >= "18.04" + nvdimm.detected == "true" command: ipmctl show -sensor Health _summary: Report health state of installed NVDIMM devices |