snapshot processing: improve warning msg

add comment TODO that system annotation should happen
This commit is contained in:
pedro 2024-10-16 21:14:22 +02:00 committed by Cayo Puigdefabregas
parent 0e8607d93e
commit f757c58356
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,8 @@ class Build:
# mac = get_mac2(hwinfo_raw) or ""
mac = get_mac(lshw) or ""
if not mac:
print("WARNING!! No there are MAC address")
print(f"WARNING: Could not retrieve MAC address in snapshot {snapshot['uuid']}" )
# TODO generate system annotation for that snapshot
else:
print(f"{manufacturer}{model}{chassis}{serial_number}{sku}{mac}")