Skip to content

Commit

Permalink
man: Add some clarification to the nameing of profiles in files
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
  • Loading branch information
stefanberger committed Nov 8, 2024
1 parent 2c8865a commit f6f858e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions man/man8/swtpm_setup.pod
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ prefix the name with 'builtin:'
All profiles loaded from the above mentioned directories require that the
file is available under the given name with '.json' appended.

Use the I<--print-profiles> and I<--tpm2> options to display all available
profiles.

=item B<--profile-file <file>> (since v0.10)

Configure a TPM 2 with a profile from a file.
Expand All @@ -267,10 +270,13 @@ I<swtpm>.
=item B<--print-profiles> (since v0.10)

Print all profiles found in the local and disto profiles directories and
the built-in ones. All profiles stored in files must have the .json
display the built-in ones. All profiles stored in files must have the .json
extension. The names in the displayed JSON will show the name under
which these profiles can be loaded with the I<--profile-name> option,
i.e., they will show their filename without the .json extension.
i.e., they will show their filename without the .json extension. Therefore,
a profile with filename myprofile.json will show the I<Name> 'myprofile'.
The author of the profile may want to set the I<Name> in the profile's JSON
to 'custom:myprofile'.

=item B<--print-capabilities> (since v0.2)

Expand Down

0 comments on commit f6f858e

Please sign in to comment.