snapshot processing: improve warning msg
add comment TODO that system annotation should happen
This commit is contained in:
parent
0e8607d93e
commit
f757c58356
|
@ -113,7 +113,8 @@ class Build:
|
||||||
# mac = get_mac2(hwinfo_raw) or ""
|
# mac = get_mac2(hwinfo_raw) or ""
|
||||||
mac = get_mac(lshw) or ""
|
mac = get_mac(lshw) or ""
|
||||||
if not mac:
|
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:
|
else:
|
||||||
print(f"{manufacturer}{model}{chassis}{serial_number}{sku}{mac}")
|
print(f"{manufacturer}{model}{chassis}{serial_number}{sku}{mac}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue