Reputation: 25974
Installing Kubernetes on Ubuntu I need the product_uuid
Butin my Ubuntu VM(Multipass) I get:
sudo cat /sys/class/dmi/id/product_uuid
cat: /sys/class/dmi/id/product_uuid: No such file or directory
So I found machine-id:
cat /etc/machine-id
db4b9d9a3b194386b894dba21d7b3fb3
Is this a valid number for product_uuid when installing K8s or else, where is product_uuid?
Thanks
Upvotes: 1
Views: 1128
Reputation: 29534
product_uuid
is main board product UUID(set by the board manufacturer) and may be used to identify a mainboard.
machine-id
is a unique id specific to a linux installation.
ubuntu@k3s:~$ sudo dmidecode --type 1
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: QEMU
Product Name: QEMU Virtual Machine
Version: virt-6.2
Serial Number: Not Specified
UUID: Not Settable
Since multipass spins up a VM, product_uuid wont be available. k8s just needs a unique identifier, so machine-id should work.
Upvotes: 2