ogclient/src/utils
Jose M. Guisado bb3264d8f4 disk: add get_efi_partition function
Add utility function inside disk.py to find, if any, the first ESP
partition of a given disk.

The disk is provided as an integer (starting at 1 following OpenGnsys
scripts usual values), meaning the (n-1)th disk from the disk array
returned from get_disks(). In the future a better mechanism should be
put in place to fetch probed disks from a running client.

This change is part of the upcoming drop of "IniciarSesion" script in
favor of a Python native approach. Specifically regarding UEFI systems.
2024-03-04 11:33:10 +01:00
..
cache.py cache: improve logging 2024-02-22 11:41:27 +01:00
disk.py disk: add get_efi_partition function 2024-03-04 11:33:10 +01:00
fs.py fs: add swap support and improve mkfs logging 2024-02-22 10:52:03 +01:00
hw_inventory.py live: hw_inventory: fix empty pci storage size bug 2023-10-18 13:32:24 +02:00
legacy.py utils: use returncode from subprocess in ogChangeRepo() 2024-02-21 11:16:19 +01:00
menu.py Add utils modules 2022-04-21 09:47:04 +02:00
net.py Add utils modules 2022-04-21 09:47:04 +02:00
probe.py probe: detect 64 bit operating systems 2022-05-09 12:57:36 +02:00
sw_inventory.py utils: sw_inventory: report unknown OS for software inventory 2023-11-17 13:32:06 +01:00
tiptorrent.py src: improve logging messages 2023-08-01 18:26:10 +02:00