Skip to content

Commit

Permalink
Document how to run lshw
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jul 10, 2023
1 parent df3c5a9 commit 01c8038
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rust/agama-lib/share/examples/profile.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
// For the schema, see
// https://github.com/openSUSE/agama/blob/master/rust/agama-lib/share/profile.schema.json

// The hw.libsonnet file contains hardware information from the "lshw" tool.
// The "hw.libsonnet" file contains hardware information of the storage devices
// from the "lshw" tool. It is generated by running as root:
//
// lshw -json -class disk
//
// However, it is expected to change in the near future to include information
// from other subsystems (e.g., network).
local agama = import 'hw.libsonnet';

// Find the biggest disk which is suitable for installing the system.
Expand Down

0 comments on commit 01c8038

Please sign in to comment.