We could potentially patch Charmed Kubernetes against this by not reading /sys/class/dmi/id/product_uuid (https://github.com/charmed-kubernetes/charm-kubernetes-master/blob/master/reactive/kubernetes_master.py#L2244), but instead using the workaround published by vmware at https://kb.vmware.com/s/article/53609:
# dd if=/sys/firmware/dmi/entries/1-0/raw bs=1 count=24 status=none | python -c 'import struct; import sys; print("UUID: %08X-%04X-%04X-%04X-%04X%08X" % struct.unpack(">8xLHHHHL", sys.stdin.read()))' UUID: 44454C4C-5200-1058-8053-B4C04F573132
We could potentially patch Charmed Kubernetes against this by not reading /sys/class/ dmi/id/ product_ uuid (https:/ /github. com/charmed- kubernetes/ charm-kubernete s-master/ blob/master/ reactive/ kubernetes_ master. py#L2244), but instead using the workaround published by vmware at https:/ /kb.vmware. com/s/article/ 53609:
# dd if=/sys/ firmware/ dmi/entries/ 1-0/raw bs=1 count=24 status=none | python -c 'import struct; import sys; print("UUID: %08X-%04X- %04X-%04X- %04X%08X" % struct. unpack( ">8xLHHHHL" , sys.stdin.read()))' 5200-1058- 8053-B4C04F5731 32
UUID: 44454C4C-