From 01c80382f01d6ecc0e30b2b32259ec307f1be5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Mon, 10 Jul 2023 15:45:35 +0100 Subject: [PATCH] Document how to run lshw --- rust/agama-lib/share/examples/profile.jsonnet | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rust/agama-lib/share/examples/profile.jsonnet b/rust/agama-lib/share/examples/profile.jsonnet index c80a3f87e1..136d91df9c 100644 --- a/rust/agama-lib/share/examples/profile.jsonnet +++ b/rust/agama-lib/share/examples/profile.jsonnet @@ -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.