diff options
author | PMR <pmr@pmr-lander> | 2018-06-19 15:25:41 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2018-06-19 15:25:41 +0000 |
commit | b10d0339f864aa2ce2d1301569ae8302327fcc0a (patch) | |
tree | c8e9f3171438d2f54c0fb003ae0a1ad8397f9eff /units/disk | |
parent | 3261057c0eb53b9bff40da0e020c473e95b13a31 (diff) | |
parent | 0bd6567a77d97e24874d658e0067790a9ff690e1 (diff) |
Merge #348206 from ~jocave/plainbox-provider-checkbox:disk-encryption-test
Diffstat (limited to 'units/disk')
-rw-r--r-- | units/disk/encryption.pxu | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/units/disk/encryption.pxu b/units/disk/encryption.pxu new file mode 100644 index 0000000..b7d41c8 --- /dev/null +++ b/units/disk/encryption.pxu @@ -0,0 +1,21 @@ + +id: disk/encryption/detect +category_id: com.canonical.plainbox::disk +plugin: shell +template-engine: jinja2 +user: root +requires: + executable.name == 'lsblk' + executable.name == 'dmsetup' + executable.name == 'cryptsetup' +_summary: Test that Full Disk Encryption is in use +_description: + Examine the system to detect if one of the standard full disk encryption + implementations is in use +command: + {%- if __on_ubuntucore__ %} + fde_tests.py + {%- else %} + fde_tests.py desktop + {% endif -%} +estimated_duration: 2.0 \ No newline at end of file |