I want to get an unique machine ID for all host
but the command failed in lxc:
Is there other way?
but the command failed in lxc:
Code:
root@vlan50-62:~# dmidecode --string system-uuid
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: No such file or directory
root@vlan50-62:~# dmidecode | grep -i uuid
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: No such file or directory
root@vlan50-62:~# cat /sys/devices/virtual/dmi/id/product_uuid
cat: /sys/devices/virtual/dmi/id/product_uuid: Permission denied
root@node011:~# pct exec 100 cat /sys/devices/virtual/dmi/id/product_uuid
cat: /sys/devices/virtual/dmi/id/product_uuid: Permission denied
Is there other way?