fix lshw json

This commit is contained in:
Cayo Puigdefabregas 2024-11-07 17:33:36 +01:00
parent 468b6f63c4
commit b3285421d1

View file

@ -261,7 +261,7 @@ def smartctl(all_disks, disk=None):
# TODO permitir selección
# TODO permitir que vaya más rápido
def get_data(all_disks):
lshw = 'sudo lshw -json'
lshw = 'sudo lshw -xml'
hwinfo = 'sudo hwinfo --reallyall'
dmidecode = 'sudo dmidecode'
lspci = 'sudo lspci -vv'