diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2020-02-07 10:22:43 +0000 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2020-02-07 10:22:43 +0000 |
commit | 050124acf83a33ed8f1e7a2a934c1f2773657663 (patch) | |
tree | af0273fa6b25a104b8dd785c856354b152092c08 | |
parent | 9e961694ad5e62cc6b965a2022daaf86056a3329 (diff) |
tpm-sysfs-resource: rename script
-rwxr-xr-x | bin/tpm_sysfs_resoource.py (renamed from bin/tpm-sysfs-resource) | 0 | ||||
-rw-r--r-- | units/tpm/sysfs.pxu | 10 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/tpm-sysfs-resource b/bin/tpm_sysfs_resoource.py index 2f8c256..2f8c256 100755 --- a/bin/tpm-sysfs-resource +++ b/bin/tpm_sysfs_resoource.py diff --git a/units/tpm/sysfs.pxu b/units/tpm/sysfs.pxu index fdbf390..096f110 100644 --- a/units/tpm/sysfs.pxu +++ b/units/tpm/sysfs.pxu @@ -11,8 +11,8 @@ plugin: resource _summary: Count the number of visible TPM chips in sysfs _description: This job just counts the number of visible TPM chips in as reported by - tpm-sysfs-resource tool. The only resource attribute is 'count' -command: echo "count: $(tpm-sysfs-resource | grep -F 'x-sysfs-device-name' | wc -l)" + tpm_sysfs_resource.py tool. The only resource attribute is 'count' +command: echo "count: $(tpm_sysfs_resource.py | grep -F 'x-sysfs-device-name' | wc -l)" estimated_duration: 2s flags: preserve-locale @@ -24,7 +24,7 @@ _summary: Collect TPM information from sysfs _description: This job collects all the available TPM information from /sys/class/tpm/*/device/*. -command: tpm-sysfs-resource +command: tpm_sysfs_resource.py estimated_duration: 2s flags: preserve-locale # Tie this resource with the has_tpm_chip manifest entry. This way it will @@ -43,7 +43,7 @@ _description: This job collects all the available TPM information from /sys/class/tpm/*/device/*. Distinct files present there are converted to attributes of resource records. -command: tpm-sysfs-resource +command: tpm_sysfs_resource.py estimated_duration: 2s flags: preserve-locale # See note about manifest on the sysfs_tpm job above. @@ -60,7 +60,7 @@ _description: This job collects all the available TPM information from /sys/class/tpm/*/device/*. Distinct files present there are converted to attributes of resource records. -command: tpm-sysfs-resource +command: tpm_sysfs_resource.py estimated_duration: 2s flags: preserve-locale # See note about manifest on the sysfs_tpm job above. |